X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ipod.spec;h=4e5af2ab4c60cf2817f620d0cfaca69bb883ee41;hb=dbfc76ad7dc51045f1ad0403a401873e31a33fa5;hp=2c878a08f09cc0506d1027085fbb83021c058664;hpb=33a56741083dd30469dce7903e07cd6284a1369f;p=pingofdeath.git diff --git a/ipod.spec b/ipod.spec index 2c878a0..4e5af2a 100644 --- a/ipod.spec +++ b/ipod.spec @@ -1,6 +1,11 @@ %define name ipod -%define version 2.0 -%define release 4.planetlab%{?date:.%{date}} +%define version 2.1 +%define release 1%{?pldistro:.%{pldistro}}%{?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} @@ -42,13 +47,11 @@ cp pod $RPM_BUILD_ROOT/etc/init.d/ %pre %post -RUNLEVEL=`/sbin/runlevel` - if [ "$1" = 1 ]; then chkconfig --add pod chkconfig pod on - if [[ "$RUNLEVEL" != "unknown" ]]; then + if [[ "$PL_BOOTCD" != "1" ]] ; then /etc/init.d/pod start fi fi @@ -63,6 +66,11 @@ fi %changelog +* Fri Aug 5 2005 Aaron Klingaman +- updated to use new source of POD Hash (/etc/planetlab/session) +- minor build changes to simply build process +- remove unnecessary call to runlevel in post section + * Mon Apr 12 2004 Aaron Klingaman - moved to new build process - added change log