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
* 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

View File

@ -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