From 518ed5e1f7d42337e0c26c405e1febec8ad021ed0bb16f8fbfbb60c9d8145908 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 14 Oct 2020 00:22:10 +0000 Subject: [PATCH] - Modernize specfile constructs. OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_log?expand=0&rev=34 --- libnetfilter_log.changes | 5 +++++ libnetfilter_log.spec | 9 +++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/libnetfilter_log.changes b/libnetfilter_log.changes index e985de3..96ad39d 100644 --- a/libnetfilter_log.changes +++ b/libnetfilter_log.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 14 00:20:45 UTC 2020 - Jan Engelhardt + +- Modernize specfile constructs. + ------------------------------------------------------------------- Mon Dec 8 23:47:57 UTC 2014 - jengelh@inai.de diff --git a/libnetfilter_log.spec b/libnetfilter_log.spec index ee9a008..9f74e26 100644 --- a/libnetfilter_log.spec +++ b/libnetfilter_log.spec @@ -23,14 +23,13 @@ Release: 0 Summary: Userspace library for accessing logged packets License: GPL-2.0-only Group: Productivity/Networking/Security -URL: http://netfilter.org/projects/libnetfilter_log/ +URL: https://netfilter.org/projects/libnetfilter_log/ #Git-Clone: git://git.netfilter.org/libnetfilter_log Source: ftp://ftp.netfilter.org/pub/libnetfilter_log/%name-%version.tar.bz2 Source2: ftp://ftp.netfilter.org/pub/libnetfilter_log/%name-%version.tar.bz2.sig Source3: baselibs.conf Source4: %name.keyring -BuildRoot: %{_tmppath}/%{name}-%{version}-build #BuildRequires: autoconf, automake >= 1.6, libtool BuildRequires: pkgconfig >= 0.21 BuildRequires: pkgconfig(libnfnetlink) >= 0.0.41 @@ -64,12 +63,12 @@ part of a system that deprecates the old syslog/dmesg based packet logging. This library has been previously known as libnfnetlink_log. %prep -%setup -q +%autosetup -p1 %build # includedir intentional, cf. bugzilla.opensuse.org/795968 %configure --disable-static --includedir="%_includedir/%name" -make %{?_smp_mflags} +%make_build %install %make_install @@ -79,12 +78,10 @@ rm -f "%buildroot/%_libdir"/*.la %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) %_libdir/libnetfilter_log.so.1* %_libdir/libnetfilter_log_libipulog.so.1* %files devel -%defattr(-,root,root) %_includedir/%name/ %_libdir/libnetfilter_log.so %_libdir/libnetfilter_log_libipulog.so