diff --git a/libnetfilter_queue.changes b/libnetfilter_queue.changes index ba17ab3..8abe794 100644 --- a/libnetfilter_queue.changes +++ b/libnetfilter_queue.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 29 21:27:10 UTC 2011 - jengelh@medozas.de + +- Use SPDX format for License: tag +- Use separate include directory to detect compilation errors + ------------------------------------------------------------------- Sun Jul 11 16:44:46 UTC 2010 - jengelh@medozas.de diff --git a/libnetfilter_queue.spec b/libnetfilter_queue.spec index 4afc924..33c5370 100644 --- a/libnetfilter_queue.spec +++ b/libnetfilter_queue.spec @@ -1,7 +1,7 @@ # -# spec file for package libnetfilter_queue (Version 1.0.0) +# spec file for package libnetfilter_queue # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,17 +15,19 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: libnetfilter_queue %define libsoname %{name}1 Version: 1.0.0 Release: 1 -License: GNU GPL v2 +License: GPL-2.0 Group: Productivity/Networking/Security URL: http://netfilter.org/projects/libnetfilter_queue/ Source: http://netfilter.org/projects/libnetfilter_queue/files/%name-%version.tar.bz2 Source2: baselibs.conf -BuildRoot: %_tmppath/%name-%version-build -BuildRequires: libnfnetlink-devel >= 0.0.41, pkgconfig +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libnfnetlink-devel >= 0.0.41 pkgconfig Summary: Userspace library for packets that have been queued by the kernel packet filter %description @@ -35,8 +37,6 @@ system that deprecates the old ip_queue / libipq mechanism. libnetfilter_queue has been previously known as libnfnetlink_queue. -%define debug_package_requires %libsoname = %version-%release - %package -n %libsoname Group: System/Libraries Summary: Userspace library for packets that have been queued by the kernel packet filter @@ -65,12 +65,12 @@ libnetfilter_queue has been previously known as libnfnetlink_queue. %setup -q %build -%configure --disable-static +%configure --disable-static --includedir=%_includedir/%name-%version make %{?_smp_mflags} %install %makeinstall -find "%buildroot" -name "*.la" -delete +rm -f "%buildroot/%_libdir"/*.la; %post -n %libsoname -p /sbin/ldconfig @@ -82,7 +82,7 @@ find "%buildroot" -name "*.la" -delete %files devel %defattr(-,root,root) -%_includedir/libnetfilter_queue +%_includedir/libnetfilter_queue* %_libdir/libnetfilter_queue.so %_libdir/pkgconfig/libnetfilter_queue.pc