Hello community,
here is the log from the commit of package libnetfilter_acct for
openSUSE:Factory checked in at 2020-10-24 15:14:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libnetfilter_acct (Old)
and /work/SRC/openSUSE:Factory/.libnetfilter_acct.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libnetfilter_acct"
Sat Oct 24 15:14:25 2020 rev:13 rq:843032 version:1.0.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/libnetfilter_acct/libnetfilter_acct.changes
2016-08-28 12:18:01.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.libnetfilter_acct.new.3463/libnetfilter_acct.changes
2020-10-24 15:14:29.668029816 +0200
@@ -1,0 +2,5 @@
+Wed Oct 14 00:05:38 UTC 2020 - Jan Engelhardt <[email protected]>
+
+- Modernize specfile constructs.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libnetfilter_acct.spec ++++++
--- /var/tmp/diff_new_pack.QPjf07/_old 2020-10-24 15:14:30.800031228 +0200
+++ /var/tmp/diff_new_pack.QPjf07/_new 2020-10-24 15:14:30.800031228 +0200
@@ -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 @@
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 @@
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 @@
%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