From 5d78b7cf3e3747d59dfc75a5fe0fb43e71a522f7650adfee867761713ed81899 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 14 Oct 2020 00:05:51 +0000 Subject: [PATCH] - Modernize specfile constructs. OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_acct?expand=0&rev=35 --- libnetfilter_acct.changes | 5 +++++ libnetfilter_acct.spec | 17 +++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/libnetfilter_acct.changes b/libnetfilter_acct.changes index 5132a83..426a497 100644 --- a/libnetfilter_acct.changes +++ b/libnetfilter_acct.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 14 00:05:38 UTC 2020 - Jan Engelhardt + +- Modernize specfile constructs. + ------------------------------------------------------------------- Mon Aug 22 11:40:04 UTC 2016 - jengelh@inai.de diff --git a/libnetfilter_acct.spec b/libnetfilter_acct.spec index 260ea15..7c9a0c8 100644 --- a/libnetfilter_acct.spec +++ b/libnetfilter_acct.spec @@ -1,7 +1,7 @@ # # spec file for package libnetfilter_acct # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,17 +21,15 @@ Name: libnetfilter_acct Version: 1.0.3 Release: 0 Summary: Userspace library for the in-kernel Netfilter counters -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Productivity/Networking/Security -Url: http://netfilter.org/projects/libnetfilter_acct/ +URL: https://netfilter.org/projects/libnetfilter_acct/ #Git-Clone: git://git.netfilter.org/libnetfilter_acct Source: ftp://ftp.netfilter.org/pub/libnetfilter_acct/%name-%version.tar.bz2 Source2: ftp://ftp.netfilter.org/pub/libnetfilter_acct/%name-%version.tar.bz2.sig Source3: baselibs.conf Source4: %name.keyring -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: pkgconfig >= 0.21 BuildRequires: pkgconfig(libmnl) >= 1.0.0 %description @@ -56,11 +54,12 @@ This library provides the programming interface (API) to the Netfilter extended accounting infrastructure. %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 @@ -70,11 +69,9 @@ rm -f "%buildroot/%_libdir"/*.la %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) %_libdir/libnetfilter_acct.so.1* %files devel -%defattr(-,root,root) %_includedir/%name/ %_libdir/libnetfilter_acct.so %_libdir/pkgconfig/libnetfilter_acct.pc