X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ipod.spec;h=f0211083f64c8e7243001afed9ebf2df77a3972f;hb=76bebf3d2bf7bf005aba3f88033c20ba2fd77c57;hp=ef2763ad6158db63ff487baabf1aacc557beceed;hpb=b3b321bfa2a0b31788a3246dcc97666098cadcf9;p=pingofdeath.git diff --git a/ipod.spec b/ipod.spec index ef2763a..f021108 100644 --- a/ipod.spec +++ b/ipod.spec @@ -1,6 +1,11 @@ %define name ipod %define version 2.0 -%define release 3.planetlab%{?date:.%{date}} +%define release 5.planetlab%{?date:.%{date}} + +Vendor: PlanetLab +Packager: PlanetLab Central +Distribution: PlanetLab 3.0 +URL: http://cvs.planet-lab.org/cvs/ipod Summary: PlanetLab ICMP Ping of Death Name: %{name} @@ -9,7 +14,7 @@ Release: %{release} Copyright: GPL Group: System Environment/Kernel Source: %{name}-%{version}.tar.gz -BuildRoot: /tmp/%{name}-%{version}-root +BuildRoot: %{_tmppath}/%{name}-%{version}root %description Startup service to enable Ping Of Death @@ -31,11 +36,11 @@ cp pod $RPM_BUILD_ROOT/etc/init.d/ %clean -rm -rf $RPM_BUILD_ROOT +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files -%defattr(-, root, root) +%defattr(0755, root, root) /etc/init.d/pod /usr/local/planetlab/bin/pl-poddoit