From 100a7b7bb4425616588f3e35d8e808897063ad94b1fed25b9b2bd8c18a905fb9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 30 May 2011 00:02:46 +0000 Subject: [PATCH] Run spec-beautifier OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iptables?expand=0&rev=17 --- iptables.changes | 1 + iptables.spec | 42 +++++++++++++++++++++--------------------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/iptables.changes b/iptables.changes index 8e1bd5b..50108eb 100644 --- a/iptables.changes +++ b/iptables.changes @@ -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 diff --git a/iptables.spec b/iptables.spec index 63921d3..3e6ac51 100644 --- a/iptables.spec +++ b/iptables.spec @@ -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