diff --git a/libnetfilter_conntrack.spec b/libnetfilter_conntrack.spec index 078b015..66e2434 100644 --- a/libnetfilter_conntrack.spec +++ b/libnetfilter_conntrack.spec @@ -23,13 +23,13 @@ Version: 0.9.1 Release: 1 License: GNU GPL v2 Group: Productivity/Networking/Security -Url: http://netfilter.org/projects/libnetfilter_conntrack/ +URL: http://netfilter.org/projects/libnetfilter_conntrack/ Source: http://netfilter.org/projects/%name/files/%name-%version.tar.bz2 Source2: http://netfilter.org/projects/%name/files/%name-%version.tar.bz2.sig Source3: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRoot: %_tmppath/%name-%version-build BuildRequires: libnfnetlink-devel >= 1.0.0 -BuildRequires: linux-kernel-headers >= 2.6.18 pkg-config +BuildRequires: linux-kernel-headers >= 2.6.18, pkg-config Summary: Userspace library for the in-kernel connection tracking state table %description @@ -39,7 +39,7 @@ library libnetfilter_conntrack has been previously known as libnfnetlink_conntrack and libctnetlink. This library is currently used by conntrack-tools among many other applications. -%define debug_package_requires %lname = %{version}-%{release} +%define debug_package_requires %lname = %version-%release %package -n %lname Group: System/Libraries @@ -54,7 +54,7 @@ used by conntrack-tools among many other applications. %package devel Group: Development/Libraries/C and C++ -Requires: %lname = %{version} +Requires: %lname = %version Summary: Userspace library for the in-kernel connection tracking state table %description devel @@ -73,7 +73,7 @@ make %{?_smp_mflags} %install %makeinstall -find %{buildroot} -name "*.la" -delete +find %buildroot -name "*.la" -delete %post -n %lname -p /sbin/ldconfig @@ -81,12 +81,12 @@ find %{buildroot} -name "*.la" -delete %files -n %lname %defattr(-,root,root) -%{_libdir}/libnetfilter_conntrack.so.%{soname}* +%_libdir/libnetfilter_conntrack.so.%{soname}* %files devel %defattr(-,root,root) -%{_includedir}/libnetfilter_conntrack -%{_libdir}/libnetfilter_conntrack.so -%{_libdir}/pkgconfig/libnetfilter_conntrack.pc +%_includedir/libnetfilter_conntrack +%_libdir/libnetfilter_conntrack.so +%_libdir/pkgconfig/libnetfilter_conntrack.pc %changelog