From: Marc Fiuczynski <mef@cs.princeton.edu>
Date: Tue, 11 Mar 2008 16:36:51 +0000 (+0000)
Subject: fix for fc4: use explicit destination for yumgroups.xml or else 'install' program... 
X-Git-Tag: BootstrapFS-1.0-0~3
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=de762a94282456bd871b26de0b95edfc4227da21;p=bootstrapfs.git

fix for fc4: use explicit destination for yumgroups.xml or else 'install' program fails
---

diff --git a/noderepo.spec b/noderepo.spec
index eea6ac9..cfee2fb 100644
--- a/noderepo.spec
+++ b/noderepo.spec
@@ -55,7 +55,7 @@ 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 %{_topdir}/$rpm $RPM_BUILD_ROOT/var/www/html/install-rpms/$repo/ ; done
 ### yumgroups
-install -D -m 644 %{_topdir}/RPMS/yumgroups.xml $RPM_BUILD_ROOT/var/www/html/install-rpms/$repo
+install -D -m 644 %{_topdir}/RPMS/yumgroups.xml $RPM_BUILD_ROOT/var/www/html/install-rpms/$repo/yumgroups.xml
 # do not do this yet, as plc.d/packages will do it anyway
 #createrepo -g yumgroups.xml $RPM_BUILD_ROOT/var/www/html/install-rpms/$repo