Change in ovirt-host-deploy[master]: packaging: spec: split ovirt-host-deploy-offline into own spec

Alon Bar-Lev alonbl at redhat.com
Mon Sep 16 23:24:31 UTC 2013


Alon Bar-Lev has submitted this change and it was merged.

Change subject: packaging: spec: split ovirt-host-deploy-offline into own spec
......................................................................


packaging: spec: split ovirt-host-deploy-offline into own spec

rpm dependencies are quite primitive and set at build time and not at
install time, the dmidecode dependency cannot be use as it is platform
specific in noarch package.

rpm does not allow building base package as noarch while subpackages
as arch specific, we cannot have the offline subpackage depend on
arch specific packages.

the reasonable solutions are:

1. make the entire package arch specific, it is illogical to accept rpm
   limitation and enforce it on good package.

2. create a package that provides dmidecode, so it can be installed at
   archs that do not provide dmidecode. this again is ugly.

3. move ovirt-host-deploy-offline into own arch specific primary
   package.

solution 3 was implemented.

a target of offline-tarball was added to create a tarball that can be
served as source for packaging.

Change-Id: I26513d02fd1c95a2a515781884a7283e77a5c2ff
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
M Makefile.am
M configure.ac
A ovirt-host-deploy-offline.spec.in
M ovirt-host-deploy.spec.in
4 files changed, 77 insertions(+), 18 deletions(-)

Approvals:
  Alon Bar-Lev: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/19151
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I26513d02fd1c95a2a515781884a7283e77a5c2ff
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Vitor de Lima <vitor.lima at eldorado.org.br>



More information about the Engine-commits mailing list