[packages/libnetfilter_log] - updated to 1.0.2, drop .la files

qboosh qboosh at pld-linux.org
Sat Jan 15 10:18:54 CET 2022


commit 499a4c82d9b34a10af7e58859d097b5d72935ee0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jan 15 10:19:49 2022 +0100

    - updated to 1.0.2, drop .la files

 libnetfilter_log.spec | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/libnetfilter_log.spec b/libnetfilter_log.spec
index 9fb5262..f8b1ea0 100644
--- a/libnetfilter_log.spec
+++ b/libnetfilter_log.spec
@@ -1,18 +1,23 @@
 Summary:	netfilter userspace packet logging library
 Summary(pl.UTF-8):	Biblioteka logowania w przestrzeni użytkownika dla netfiltra
 Name:		libnetfilter_log
-Version:	1.0.1
-Release:	2
+Version:	1.0.2
+Release:	1
 License:	GPL v2
 Group:		Libraries
-Source0:	ftp://ftp.netfilter.org/pub/libnetfilter_log/%{name}-%{version}.tar.bz2
-# Source0-md5:	2a4bb0654ae675a52d2e8d1c06090b94
-URL:		http://www.netfilter.org/projects/libnetfilter_log/
+Source0:	https://netfilter.org/projects/libnetfilter_log/files/%{name}-%{version}.tar.bz2
+# Source0-md5:	12825abf68cfcc150a31ccb88ae9f42d
+URL:		https://netfilter.org/projects/libnetfilter_log/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake >= 1.6
+BuildRequires:	doxygen
+BuildRequires:	libmnl-devel >= 1.0.3
+# for tests only
+#BuildRequires:	libnetfilter_conntrack-devel >= 1.0.2
 BuildRequires:	libnfnetlink-devel >= 0.0.41
 BuildRequires:	libtool
 BuildRequires:	pkgconfig >= 1:0.9.0
+Requires:	libmnl >= 1.0.3
 Requires:	libnfnetlink >= 0.0.41
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -32,6 +37,7 @@ Summary:	Header files for libnetfilter_log library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libnetfilter_log
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	libmnl-devel >= 1.0.3
 Requires:	libnfnetlink-devel >= 0.0.41
 
 %description devel
@@ -71,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libnetfilter_log*.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -88,10 +97,10 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libnetfilter_log.so
 %attr(755,root,root) %{_libdir}/libnetfilter_log_libipulog.so
-%{_libdir}/libnetfilter_log.la
-%{_libdir}/libnetfilter_log_libipulog.la
 %{_includedir}/libnetfilter_log
 %{_pkgconfigdir}/libnetfilter_log.pc
+%{_pkgconfigdir}/libnetfilter_log_libipulog.pc
+%{_mandir}/man3/nflog_*.3*
 
 %files static
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libnetfilter_log.git/commitdiff/499a4c82d9b34a10af7e58859d097b5d72935ee0



More information about the pld-cvs-commit mailing list