when dealing with multiple architectures/pldistros/vrefs, it is sometimes necessary...
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 1 Sep 2008 10:48:45 +0000 (10:48 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 1 Sep 2008 10:48:45 +0000 (10:48 +0000)
the purpose of this change is that yumgroups.xml does not get overwritten by an update of noderepo
on the longer run we might wish to merge yumgroups.xml from (a) rpm and (b) local changes

noderepo.spec

index 5e6419a..8a929f2 100644 (file)
@@ -70,6 +70,8 @@ service plc start packages
 %files
 %defattr(-,root,root,-)
 /var/www/html/install-rpms/%{nodefamily}
+# don't overwrite yumgroups.xml if exists
+%config(noreplace) /var/www/html/install-rpms/%{nodefamily}/yumgroups.xml
 
 %changelog
 * Thu Jul 03 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - BootstrapFS-1.0-2