From 569d4178609727e0c2c5f94e86ec91c5248672d8 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 19 Jan 2011 20:45:14 +0100 Subject: [PATCH] require 'service' as well as 'chkconfig' adapt for git --- iptables.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 -- 2.43.0