X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=bootstrapfs.spec;h=bca657f530464c7b441dce05d16469b99e229c94;hb=7b74056e4ef7410dcfe2a4d6ebf210a0a3a3a927;hp=06ebe12f08350ae686cfe86fec8c573c9ade43a2;hpb=8404a0f3da559c3f32b8078fbf5ea317d40785f8;p=nodeimage.git diff --git a/bootstrapfs.spec b/bootstrapfs.spec index 06ebe12..bca657f 100644 --- a/bootstrapfs.spec +++ b/bootstrapfs.spec @@ -3,18 +3,22 @@ # %define url $URL$ -%define name bootstrapfs +%define nodefamily %{pldistro}-%{_arch} + +%define name bootstrapfs-%{nodefamily} %define version 0.1 %define taglevel 2 -%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} +# pldistro already in the rpm name +#%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%define release %{taglevel}%{?date:.%{date}} Vendor: PlanetLab Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} URL: %(echo %{url} | cut -d ' ' -f 2) -Summary: The PlanetLab Bootstrap Filesystems +Summary: The PlanetLab Bootstrap Filesystems for %{nodefamily} Name: %{name} Version: %{version} Release: %{release} @@ -40,7 +44,7 @@ BootManager to instantiate a node with a new filesystem. %build pushd BootstrapFS -./build.sh %{distroname} %{pldistro} +./build.sh %{pldistro} popd BootstrapFS %install