From: Thierry Parmentelat Date: Wed, 19 Jan 2011 19:45:14 +0000 (+0100) Subject: require 'service' as well as 'chkconfig' X-Git-Tag: iptables-1.4.9-1~2 X-Git-Url: http://git.onelab.eu/?p=iptables.git;a=commitdiff_plain;h=569d4178609727e0c2c5f94e86ec91c5248672d8;ds=sidebyside require 'service' as well as 'chkconfig' adapt for git --- diff --git a/iptables.spec b/iptables.spec index 7ceded2..0687ae0 100644 --- a/iptables.spec +++ b/iptables.spec @@ -1,8 +1,3 @@ -# -# $Id$ -# -%define url $URL$ - %define name iptables %define version 1.4.9 %define taglevel 0 @@ -12,7 +7,7 @@ Vendor: PlanetLab Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} -URL: %(echo %{url} | cut -d ' ' -f 2) +URL: %{SCMURL} Summary: Tools for managing Linux kernel packet filtering capabilities Name: %{name} @@ -30,6 +25,7 @@ BuildRequires: libselinux-devel BuildRequires: kernel-headers Conflicts: kernel < 2.4.20 Requires(post): chkconfig +Requires(post): service Requires(preun): chkconfig %description