forked from jengelh/iptables
Run spec-beautifier
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iptables?expand=0&rev=17
This commit is contained in:
parent
4eb6a28a22
commit
100a7b7bb4
@ -12,6 +12,7 @@ Sun May 29 23:56:33 UTC 2011 - jengelh@medozas.de
|
||||
- Fixes on top
|
||||
* allow negation of --uid-owner/--gid-owner again
|
||||
* fix installation of symlinks
|
||||
- Run spec-beautifier
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 29 17:56:48 UTC 2010 - jengelh@medozas.de
|
||||
|
@ -31,8 +31,8 @@ Source: %name-%version.tar.xz
|
||||
Patch1: iptables-batch.patch
|
||||
Patch2: 874bd762-owner-restore-invert.diff
|
||||
Patch3: 71e402b-fix-install-symlinks.diff
|
||||
Url: http://netfilter.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
URL: http://netfilter.org/
|
||||
BuildRoot: %_tmppath/%name-%version-build
|
||||
BuildRequires: pkg-config, sgmltool, xz
|
||||
|
||||
%description
|
||||
@ -44,8 +44,8 @@ packet filter rules in the Linux kernel. This version requires kernel
|
||||
License: GPLv2+
|
||||
Summary: Libraries, Headers and Development Man Pages for iptables
|
||||
Group: Development/Libraries/C and C++
|
||||
AutoReqProv: on
|
||||
Requires: %{name} = %{version}
|
||||
Autoreqprov: on
|
||||
Requires: %name = %version
|
||||
|
||||
%description devel
|
||||
These libraries are needed to compile
|
||||
@ -67,11 +67,11 @@ rm -f extensions/libipt_unclean.man
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
make DESTDIR=%buildroot install
|
||||
# iptables-apply is not installed by upstream Makefile
|
||||
install -m0755 iptables-apply $RPM_BUILD_ROOT%{_sbindir}/
|
||||
install -m0644 iptables-apply.8 $RPM_BUILD_ROOT%{_mandir}/man8/
|
||||
find "$RPM_BUILD_ROOT" -iname "*.la" -delete
|
||||
install -m0755 iptables-apply %buildroot%_sbindir/
|
||||
install -m0644 iptables-apply.8 %buildroot%_mandir/man8/
|
||||
find "%buildroot" -iname "*.la" -delete
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
@ -80,21 +80,21 @@ find "$RPM_BUILD_ROOT" -iname "*.la" -delete
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING INCOMPATIBILITIES
|
||||
%doc %{_mandir}/man8/*
|
||||
%{_bindir}/iptables*
|
||||
%{_sbindir}/iptables*
|
||||
%{_sbindir}/ip6tables*
|
||||
%{_sbindir}/xtables*
|
||||
%dir %{_libexecdir}/xtables
|
||||
%{_libexecdir}/xtables/*
|
||||
%{_libdir}/*.so.*
|
||||
%doc %_mandir/man8/*
|
||||
%_bindir/iptables*
|
||||
%_sbindir/iptables*
|
||||
%_sbindir/ip6tables*
|
||||
%_sbindir/xtables*
|
||||
%dir %_libexecdir/xtables
|
||||
%_libexecdir/xtables/*
|
||||
%_libdir/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc %{_mandir}/man3/*
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/xtables.pc
|
||||
%{_libdir}/pkgconfig/libiptc.pc
|
||||
%doc %_mandir/man3/*
|
||||
%_includedir/*
|
||||
%_libdir/*.so
|
||||
%_libdir/pkgconfig/xtables.pc
|
||||
%_libdir/pkgconfig/libiptc.pc
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user