[node-patches] Change in ovirt-node-iso[node-3.0]: Drop spec, no rpm for the base iso
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Mon May 19 14:28:07 UTC 2014
Fabian Deutsch has uploaded a new change for review.
Change subject: Drop spec, no rpm for the base iso
......................................................................
Drop spec, no rpm for the base iso
Change-Id: I407d1d7eac9f91580203b5a77d14ba6a791c1eee
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
D ovirt-node-iso.spec.in
1 file changed, 0 insertions(+), 106 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node-iso refs/changes/67/27867/1
diff --git a/ovirt-node-iso.spec.in b/ovirt-node-iso.spec.in
deleted file mode 100644
index 97f04d0..0000000
--- a/ovirt-node-iso.spec.in
+++ /dev/null
@@ -1,106 +0,0 @@
-%define product oVirt Node ISO
-%define product_short oVirt Node ISO
-%define product_code ovirt-node-iso
-%define build_counter %(test -n "%{?BUILD_NUMBER}" && echo "%{?BUILD_NUMBER}" || echo @BUILD_NUMBER@ )
-%define vdsm_compat 3.3,3.2,3.1
-
-Name: ovirt-node-iso
-Version: @VERSION@
-Release: 1.0.%{?build_counter}%{?dist}
-Summary: %{product} ISO Image
-BuildArch: noarch
-Source1: %{product_code}-%{version}-%{release}.iso
-Group: Applications/System
-License: License: AFL and BSD and (BSD or GPLv2+) and BSD with advertising and Boost and GFDL and GPL and GPL+ and (GPL+ or Artistic) and GPLv1+ and GPLv2 and (GPLv2 or BSD) and (GPLv2 or GPLv3) and GPLv2 with exceptions and GPLv2+ and (GPLv2+ or AFL) and GPLv2+ with exceptions and GPLv3 and GPLv3+ and GPLv3+ with exceptions and IJG and ISC and LGPLv2 and LGPLv2+ and (LGPLv2+ or BSD) and (LGPLv2+ or MIT) and LGPLv2+ with exceptions and LGPLv2/GPLv2 and LGPLv3 and LGPLv3+ and MIT and (MIT or LGPLv2+ or BSD) and (MPLv1.1 or GPLv2+ or LGPLv2+) and Open Publication and OpenLDAP and OpenSSL and Public Domain and Python and (Python or ZPLv2.0) and Rdisc and Redistributable, no modification permitted and SISSL and Vim and zlib
-URL: http://ovirt.org/
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-
-Requires: rpmdevtools
-%define app_root %{_datadir}/%{name}
-
-%description
-The iso boot image for %{product}.
-This rpm contains only the iso image.
-
-%prep
-
-%build
-
-%install
-%{__rm} -rf %{buildroot}
-mkdir %{buildroot}
-
-%{__install} -d -m0755 %{buildroot}%{app_root}
-%{__install} -p -m0644 %{SOURCE1} %{buildroot}%{app_root}/%{product_code}-%{version}-%{release}.iso
-echo %{version},%{release} > %{buildroot}%{app_root}/version-%{version}-%{release}.txt
-echo %{vdsm_compat} > %{buildroot}%{app_root}/vdsm-compatibility-%{version}-%{release}.txt
-
-%post
-nvr=0
-for ver in %{app_root}/version-*txt; do
- ver=$(basename $(echo $ver | sed 's/\.txt//'))
- if [ "$nvr" = "0" ]; then
- nvr=$ver
- else
- rpmdev-vercmp $nvr $ver >/dev/null 2>&1
- rc=$?
- if [ $rc = 12 ]; then
- nvr=$ver
- fi
- fi
-done
-ln -snf %{app_root}/${nvr}.txt %{app_root}/version.txt
-ln -snf %{app_root}/ovirt-node-iso-${nvr#*-}.iso %{app_root}/%{name}.iso
-if [ -f %{app_root}/vdsm-compatibility-${nvr#*-}.txt ]; then
- ln -snf %{app_root}/vdsm-compatibility-${nvr#*-}.txt %{app_root}/vdsm-compatibility.txt
-fi
-
-%preun
-#first remove all symlinks
-rm %{app_root}/version.txt
-rm %{app_root}/%{name}.iso
-rm -f %{app_root}/vdsm-compatibility.txt
-
-nvr=0
-for ver in %{app_root}/version-*txt; do
- ver=$(basename $(echo $ver | sed 's/\.txt//'))
- if [ "$ver" = "version-%{version}-%{release}" ]; then
- continue
- fi
- if [ "$nvr" = "0" ]; then
- nvr=$ver
- else
- rpmdev-vercmp $nvr $ver >/dev/null 2>&1
- rc=$?
- if [ $rc = 12 ]; then
- nvr=$ver
- fi
- fi
-done
-if [ ! "$nvr" = "0" ]; then
- ln -snf %{app_root}/${nvr}.txt %{app_root}/version.txt
- ln -snf %{app_root}/rhevh-${nvr#*-}.iso %{app_root}/%{name}.iso
- if [ -f %{app_root}/vdsm-compatibility-${nvr#*-}.txt ]; then
- ln -snf %{app_root}/vdsm-compatibility-${nvr#*-}.txt %{app_root}/vdsm-compatibility.txt
- fi
-fi
-
-%clean
-%{__rm} -rf %{buildroot}
-
-
-%files
-%defattr(0644,root,root,0755)
-%{app_root}
-%{app_root}/%{product_code}-%{version}-%{release}.iso
-%{app_root}/version-%{version}-%{release}.txt
-%{app_root}/vdsm-compatibility-%{version}-%{release}.txt
-
-
-
-%changelog
-* Mon Oct 15 2012 Mike Burns <mburns at redhat.com> 2.5.999
-- add vdsm-compatibility version text file to rpm.
-
-* Wed Feb 08 2012 Mike Burns <mburns at redhat.com> 2.2.2-2.2
-- Initial version
--
To view, visit http://gerrit.ovirt.org/27867
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I407d1d7eac9f91580203b5a77d14ba6a791c1eee
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-iso
Gerrit-Branch: node-3.0
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list