1
0
forked from jengelh/iptables
Jan Engelhardt 2011-05-30 00:02:46 +00:00 committed by Git OBS Bridge
parent 4eb6a28a22
commit 100a7b7bb4
2 changed files with 22 additions and 21 deletions

View File

@ -12,6 +12,7 @@ Sun May 29 23:56:33 UTC 2011 - jengelh@medozas.de
- Fixes on top - Fixes on top
* allow negation of --uid-owner/--gid-owner again * allow negation of --uid-owner/--gid-owner again
* fix installation of symlinks * fix installation of symlinks
- Run spec-beautifier
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 29 17:56:48 UTC 2010 - jengelh@medozas.de Fri Oct 29 17:56:48 UTC 2010 - jengelh@medozas.de

View File

@ -31,8 +31,8 @@ Source: %name-%version.tar.xz
Patch1: iptables-batch.patch Patch1: iptables-batch.patch
Patch2: 874bd762-owner-restore-invert.diff Patch2: 874bd762-owner-restore-invert.diff
Patch3: 71e402b-fix-install-symlinks.diff Patch3: 71e402b-fix-install-symlinks.diff
Url: http://netfilter.org/ URL: http://netfilter.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %_tmppath/%name-%version-build
BuildRequires: pkg-config, sgmltool, xz BuildRequires: pkg-config, sgmltool, xz
%description %description
@ -44,8 +44,8 @@ packet filter rules in the Linux kernel. This version requires kernel
License: GPLv2+ License: GPLv2+
Summary: Libraries, Headers and Development Man Pages for iptables Summary: Libraries, Headers and Development Man Pages for iptables
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
AutoReqProv: on Autoreqprov: on
Requires: %{name} = %{version} Requires: %name = %version
%description devel %description devel
These libraries are needed to compile These libraries are needed to compile
@ -67,11 +67,11 @@ rm -f extensions/libipt_unclean.man
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=%buildroot install
# iptables-apply is not installed by upstream Makefile # iptables-apply is not installed by upstream Makefile
install -m0755 iptables-apply $RPM_BUILD_ROOT%{_sbindir}/ install -m0755 iptables-apply %buildroot%_sbindir/
install -m0644 iptables-apply.8 $RPM_BUILD_ROOT%{_mandir}/man8/ install -m0644 iptables-apply.8 %buildroot%_mandir/man8/
find "$RPM_BUILD_ROOT" -iname "*.la" -delete find "%buildroot" -iname "*.la" -delete
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -80,21 +80,21 @@ find "$RPM_BUILD_ROOT" -iname "*.la" -delete
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING INCOMPATIBILITIES %doc COPYING INCOMPATIBILITIES
%doc %{_mandir}/man8/* %doc %_mandir/man8/*
%{_bindir}/iptables* %_bindir/iptables*
%{_sbindir}/iptables* %_sbindir/iptables*
%{_sbindir}/ip6tables* %_sbindir/ip6tables*
%{_sbindir}/xtables* %_sbindir/xtables*
%dir %{_libexecdir}/xtables %dir %_libexecdir/xtables
%{_libexecdir}/xtables/* %_libexecdir/xtables/*
%{_libdir}/*.so.* %_libdir/*.so.*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%doc %{_mandir}/man3/* %doc %_mandir/man3/*
%{_includedir}/* %_includedir/*
%{_libdir}/*.so %_libdir/*.so
%{_libdir}/pkgconfig/xtables.pc %_libdir/pkgconfig/xtables.pc
%{_libdir}/pkgconfig/libiptc.pc %_libdir/pkgconfig/libiptc.pc
%changelog %changelog