From: Thierry Parmentelat Date: Tue, 4 Mar 2008 13:24:45 +0000 (+0000) Subject: cross-module name change for more consistency X-Git-Tag: BootstrapFS-1.0-0~13 X-Git-Url: http://git.onelab.eu/?p=bootstrapfs.git;a=commitdiff_plain;h=3703fc4be92ba01968fdc8494415616477e8a2fa cross-module name change for more consistency --- diff --git a/noderepo.spec b/noderepo.spec index 60e5dd4..3638230 100644 --- a/noderepo.spec +++ b/noderepo.spec @@ -8,7 +8,7 @@ # %{distrorelease} : e.g. 8 # %{node_rpms_plus} : as a +++ separated list of rpms from the build dir -%define name noderepo-%{distrovsname}-%{_arch} +%define name noderepo-%{distroname}-%{_arch} %define version 4.2 %define taglevel 1 @@ -46,7 +46,7 @@ echo nothing to do at build time for noderepo rm -rf $RPM_BUILD_ROOT pushd BootstrapFS -repo=planetlab-%{distrovsname}-%{_arch} +repo=planetlab-%{distroname}-%{_arch} install -d -m 755 $RPM_BUILD_ROOT/var/www/html/install-rpms/$repo rpms=$(echo %{node_rpms_plus} | sed -e s,+++, ,g) for rpm in $rpms; do rsync $RPM_BUILD_ROOT/$rpm $RPM_BUILD_ROOT/var/www/html/install-rpms/$repo/ ; done @@ -63,7 +63,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -/var/www/html/install-rpms/planetlab-%{distrovsname}-%{_arch} +/var/www/html/install-rpms/planetlab-%{distroname}-%{_arch} %changelog * Tue Mar 4 2008 Thierry Parmentelat -