Change in ovirt-engine-sdk[master]: packaging: Distribution specific RPM spec files

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Sep 8 11:57:32 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: packaging: Distribution specific RPM spec files
......................................................................


packaging: Distribution specific RPM spec files

Currently we use a single .spec file template for all the supported
distributions. To support all the distributions it should contain many
"%if" statements that change behaviour, for example to build or not the
Python 3 support packages. This would make it convoluted and difficult
to maintain. To avoid this issue this patch introduces different spec
file templates, one for each supported distribution.

Change-Id: Id9d733bdfcafab4e07325695ff395a40a9b27bd2
Bug-Url: https://bugzilla.redhat.com/1260865
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M .gitignore
M Makefile
C spec.el6.in
A spec.el7.centos.in
C spec.el7.in
R spec.fc21.in
C spec.fc22.in
7 files changed, 21 insertions(+), 83 deletions(-)

Approvals:
  Sandro Bonazzola: Looks good to me
  Juan Hernandez: Verified; Ready for merge
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/45837
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id9d733bdfcafab4e07325695ff395a40a9b27bd2
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list