X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=noderepo.spec;h=20b3b0be83a4c03618efbf04576bb695cf661a96;hb=f8cf3eea8faa5a7f56ce00b014b6236334cb9616;hp=eea6ac9b34e0d7c1271e712d06a6d3a0d6976854;hpb=e733b0545a632bea8536796f97ab3b266423aa16;p=bootstrapfs.git diff --git a/noderepo.spec b/noderepo.spec index eea6ac9..20b3b0b 100644 --- a/noderepo.spec +++ b/noderepo.spec @@ -11,10 +11,12 @@ %define nodefamily %{pldistro}-%{_arch} %define name noderepo-%{nodefamily} -%define version 0.1 -%define taglevel 2 +%define version 1.0 +%define taglevel 3 -%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 @@ -55,7 +57,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 @@ -68,7 +70,22 @@ 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 +* Mon Sep 01 2008 Thierry Parmentelat - BootstrapFS-1.0-3 +- Do not overwrite yumgroups.xml upon updates of noderepo + +* Thu Jul 03 2008 Thierry Parmentelat - BootstrapFS-1.0-2 +- uses the right yum.conf when building images + +* Mon May 05 2008 Thierry Parmentelat - BootstrapFS-1.0-1 +- rpm release tag does not need pldistro as it is already part of the rpm name + +* Wed Mar 26 2008 Thierry Parmentelat - BootstrapFS-0.1-2 BootstrapFS-1.0-0 +- naming scheme changed, tarball name now contains ''nodefamily'' as - +- new package named 'noderepo' allows to ship the full set of node rpms to another (arch) myplc + * Tue Mar 4 2008 Thierry Parmentelat - - Initial build.