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 bd94e5c..9f74e26 100644 --- a/libnetfilter_log.spec +++ b/libnetfilter_log.spec @@ -1,7 +1,7 @@ # # spec file for package libnetfilter_log # -# 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/ # @@ -21,16 +21,15 @@ Name: libnetfilter_log Version: 1.0.1 Release: 0 Summary: Userspace library for accessing logged packets -License: GPL-2.0 +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,11 +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 @@ -78,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