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

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Jan 13 12:31:25 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: I3ee2acddca2e42c11d5679fb4b8c5931c91ac986
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit b5559822a65004f13b1b6a2ad19988fa32cebeb0)
---
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/36839
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3ee2acddca2e42c11d5679fb4b8c5931c91ac986
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: sdk_3.5
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list