[packages/libservicelog] - up to 1.1.19
qboosh
qboosh at pld-linux.org
Sun Dec 24 11:10:27 CET 2023
commit db784a4141283074be45dbe78fc443543087c120
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Dec 24 10:03:45 2023 +0100
- up to 1.1.19
libservicelog-link.patch | 12 ++++++------
libservicelog.spec | 11 ++++++-----
2 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/libservicelog.spec b/libservicelog.spec
index 41ec551..8b46dc7 100644
--- a/libservicelog.spec
+++ b/libservicelog.spec
@@ -1,16 +1,17 @@
Summary: Library for access to the system servicelog
Summary(pl.UTF-8): Biblioteka dostępu do logu zdarzeń serwisowych w systemie
Name: libservicelog
-Version: 1.1.18
+Version: 1.1.19
Release: 1
License: LGPL v2+
Group: Libraries
-Source0: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
-# Source0-md5: 8275e7d4d6922c7b7bdb3fe49271f949
+#Source0Download: https://github.com/power-ras/libservicelog/tags
+Source0: https://github.com/power-ras/libservicelog/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 0b2207b4451ac67c01ec1aa835ead999
Patch0: %{name}-link.patch
Patch1: %{name}-install.patch
-URL: http://linux-diag.sourceforge.net/servicelog/
-BuildRequires: autoconf >= 2.59
+URL: https://github.com/power-ras/libservicelog
+BuildRequires: autoconf >= 2.69
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
diff --git a/libservicelog-link.patch b/libservicelog-link.patch
index d4c9ebc..5ab5070 100644
--- a/libservicelog-link.patch
+++ b/libservicelog-link.patch
@@ -8,9 +8,9 @@
+Libs: -L${libdir} -l at GENERIC_PACKAGE_NAME@
+Libs.private: -lsqlite3 -lrtas -lrtasevent
Cflags: -I${includedir}/@GENERIC_PACKAGE_NAME at -@GENERIC_API_VERSION@
---- libservicelog-1.1.15/Makefile.am.orig 2015-07-01 21:59:11.414668558 +0200
-+++ libservicelog-1.1.15/Makefile.am 2015-07-01 21:59:15.924668369 +0200
-@@ -19,7 +19,6 @@
+--- libservicelog-1.1.19/Makefile.am.orig 2021-05-26 09:56:33.000000000 +0200
++++ libservicelog-1.1.19/Makefile.am 2023-12-24 08:43:59.478630383 +0100
+@@ -19,7 +19,6 @@ EXTRA_DIST = servicelog.db bootstrap.sh
#AM_CPPFLAGS = -I.. -I./servicelog-1/
AM_CFLAGS = -Wall -g -I.. -I./servicelog-1 -DDEST_DIR='"${exec_prefix}"'
@@ -18,11 +18,11 @@
library_include_HEADERS = servicelog-1/servicelog.h servicelog-1/libservicelog.h
noinst_HEADERS = src/slog_internal.h
-@@ -43,6 +42,7 @@
+@@ -43,6 +42,7 @@ AM_LFLAGS = -Pv29nfy_ -olex.yy.c
libservicelog_la_LDFLAGS = -module -version-info \
@GENERIC_API_VERSION@ -release @GENERIC_RELEASE@
+libservicelog_la_LIBADD = -lsqlite3 -lrtas -lrtasevent
- LIBTOOL_DEPS = @LIBTOOL_DEPS@
- libtool: $(LIBTOOL_DEPS)
+ check_PROGRAMS = src/tests/test_libservicelog
+ src_tests_test_libservicelog_SOURCES = src/tests/test_libservicelog.c
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libservicelog.git/commitdiff/db784a4141283074be45dbe78fc443543087c120
More information about the pld-cvs-commit
mailing list