forked from pool/libnetfilter_conntrack
Run spec-beautifier over specfile
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_conntrack?expand=0&rev=12
This commit is contained in:
parent
7a2f766997
commit
0a3962bacb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user