Hello community,
here is the log from the commit of package libnetfilter_cthelper for
openSUSE:Factory checked in at 2020-10-24 15:14:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libnetfilter_cthelper (Old)
and /work/SRC/openSUSE:Factory/.libnetfilter_cthelper.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libnetfilter_cthelper"
Sat Oct 24 15:14:36 2020 rev:11 rq:843036 version:1.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/libnetfilter_cthelper/libnetfilter_cthelper.changes
2014-12-09 09:13:58.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.libnetfilter_cthelper.new.3463/libnetfilter_cthelper.changes
2020-10-24 15:14:39.588042192 +0200
@@ -1,0 +2,5 @@
+Wed Oct 14 00:09:08 UTC 2020 - Jan Engelhardt <[email protected]>
+
+- Modernize specfile constructs.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libnetfilter_cthelper.spec ++++++
--- /var/tmp/diff_new_pack.EQsn0V/_old 2020-10-24 15:14:40.180042931 +0200
+++ /var/tmp/diff_new_pack.EQsn0V/_new 2020-10-24 15:14:40.180042931 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libnetfilter_cthelper
#
-# Copyright (c) 2014 SUSE LINUX Products 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/
#
@@ -20,10 +20,10 @@
%define lname %{name}0
Version: 1.0.0
Release: 0
-Url: http://netfilter.org/projects/libnetfilter_cthelper/
Summary: Userspace library for the Netfilter Conntrack Helper extension
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: Productivity/Networking/Security
+URL: https://netfilter.org/projects/libnetfilter_cthelper/
#Git-Clone: git://git.netfilter.org/libnetfilter_cthelper
#DL-URL: http://netfilter.org/projects/libnetfilter_cthelper/files/
@@ -32,11 +32,9 @@
Source3: baselibs.conf
Source4: %name.keyring
Patch1: fix_h_expect_policy_free.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
#BuildRequires: autoconf
#BuildRequires: automake >= 1.6
#BuildRequires: libtool >= 2
-BuildRequires: pkgconfig >= 0.21
BuildRequires: pkgconfig(libmnl) >= 1.0.0
%description
@@ -61,30 +59,27 @@
Netfilter userspace helper infrastructure.
%prep
-%setup -q
-%patch -P 1 -p1
+%autosetup -p1
%build
if [ ! -e configure ]; then
- autoreconf -fi;
-fi;
+ autoreconf -fi
+fi
+# includedir intentional, cf. bugzilla.opensuse.org/795968
%configure --disable-static --includedir="%_includedir/%name"
-make %{?_smp_mflags}
+%make_build
%install
-make install DESTDIR="%buildroot";
-rm -f "%buildroot/%_libdir"/*.la;
+%make_install
+rm -f "%buildroot/%_libdir"/*.la
%post -n %lname -p /sbin/ldconfig
-
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
-%defattr(-,root,root)
%_libdir/libnetfilter_cthelper.so.0*
%files devel
-%defattr(-,root,root)
%_includedir/%name/
%_libdir/libnetfilter_cthelper.so
%_libdir/pkgconfig/libnetfilter_cthelper.pc