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

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Jan 13 11:03:33 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 contains many "%if"
statements that change behaviour. This makes it convoluted and
difficult to maintain. To avoid this issue this patch introduces
different spec file templates, one for each supported distribution.

Change-Id: Ifea3318d7ab1a64efa533809c5aacff75bf9067d
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M ovirt-engine-sdk-java/Makefile
M ovirt-engine-sdk-java/README.md
R ovirt-engine-sdk-java/spec.el6.in
A ovirt-engine-sdk-java/spec.el7.centos.in
C ovirt-engine-sdk-java/spec.el7.in
C ovirt-engine-sdk-java/spec.fc20.in
C ovirt-engine-sdk-java/spec.fc21.in
A ovirt-engine-sdk-java/version.py
8 files changed, 215 insertions(+), 449 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved



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

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



More information about the Engine-commits mailing list