X-Git-Url: http://git.onelab.eu/?p=iptables.git;a=blobdiff_plain;f=iptables.spec;h=9ca19a0f31004ef9b989d0a42d4c69d4dd0e7dbd;hp=578554e43fb6f8e2f1ac94e3dd3e833d22f108e2;hb=HEAD;hpb=a0c5578cb645fcf0dfe9724cd8b2c9a924c237c9 diff --git a/iptables.spec b/iptables.spec index 578554e..9ca19a0 100644 --- a/iptables.spec +++ b/iptables.spec @@ -4,6 +4,7 @@ %define taglevel 0 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%define actual_name %{name}-%{version}%{subversion} Vendor: PlanetLab Packager: PlanetLab Central @@ -14,7 +15,7 @@ Summary: Tools for managing Linux kernel packet filtering capabilities Name: %{name} Version: %{version} Release: %{release} -Source: http://www.netfilter.org/projects/iptables/files/%{name}-%{version}%{subversion}.tar.bz2 +Source: http://www.netfilter.org/projects/iptables/files/%{actual_name}.tar.bz2 Source1: iptables.init Source2: iptables-config Source3: planetlab-config @@ -63,7 +64,7 @@ The iptc interface is upstream marked as not public. The interface is not stable and may change with every new version. It is therefore unsupported. %prep -%setup -q +%setup -q -n %{actual_name} %patch1 -p1 %build