diff --git a/libnetfilter_cttimeout.changes b/libnetfilter_cttimeout.changes index 42d327c..22d264d 100644 --- a/libnetfilter_cttimeout.changes +++ b/libnetfilter_cttimeout.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 14 00:09:56 UTC 2020 - Jan Engelhardt + +- Modernize specfile constructs. + ------------------------------------------------------------------- Mon Dec 8 23:47:22 UTC 2014 - jengelh@inai.de diff --git a/libnetfilter_cttimeout.spec b/libnetfilter_cttimeout.spec index fb73b67..96c5c2a 100644 --- a/libnetfilter_cttimeout.spec +++ b/libnetfilter_cttimeout.spec @@ -1,7 +1,7 @@ # # spec file for package libnetfilter_cttimeout # -# 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,20 +20,18 @@ Name: libnetfilter_cttimeout %define lname %{name}1 Version: 1.0.0 Release: 0 -Url: http://netfilter.org/projects/libnetfilter_cttimeout/ Summary: Userspace library for the Netfilter Conntrack Timeout extension -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Networking/Security +URL: https://netfilter.org/projects/libnetfilter_cttimeout/ #Git-Clone: git://git.netfilter.org/libnetfilter_cttimeout Source: ftp://ftp.netfilter.org/pub/libnetfilter_cttimeout/%name-%version.tar.bz2 Source2: ftp://ftp.netfilter.org/pub/libnetfilter_cttimeout/%name-%version.tar.bz2.sig Source3: baselibs.conf Source4: %name.keyring -BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf, automake >= 1.6, libtool BuildRequires: glibc-devel >= 2.9 -BuildRequires: pkgconfig >= 0.21 BuildRequires: pkgconfig(libmnl) >= 1.0.0 %description @@ -58,14 +56,15 @@ This library provides the programming interface (API) to the Netfilter extended timeout settings infrastructure. %prep -%setup -q +%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 @@ -75,11 +74,9 @@ rm -f "%buildroot/%_libdir"/*.la %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) %_libdir/libnetfilter_cttimeout.so.1* %files devel -%defattr(-,root,root) %_includedir/%name/ %_libdir/libnetfilter_cttimeout.so %_libdir/pkgconfig/libnetfilter_cttimeout.pc