Sandro Bonazzola has uploaded a new change for review.

Change subject: packaging: spec: add support for EL7 builds
......................................................................

packaging: spec: add support for EL7 builds

Change-Id: Ibd5ab8617a1a98b9973b28cfc3b8ebda414198ce
Bug-Url: https://bugzilla.redhat.com/1159293
Signed-off-by: Sandro Bonazzola <sbona...@redhat.com>
---
M ovirt-scheduler-proxy.spec.in
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-scheduler-proxy 
refs/changes/99/34899/1

diff --git a/ovirt-scheduler-proxy.spec.in b/ovirt-scheduler-proxy.spec.in
index 64ad982..c5d300a 100644
--- a/ovirt-scheduler-proxy.spec.in
+++ b/ovirt-scheduler-proxy.spec.in
@@ -1,5 +1,5 @@
 #
-# Copyright 2013 Red Hat, Inc.
+# Copyright 2013-2014 Red Hat, Inc.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -20,9 +20,14 @@
 %endif
 
 %if 0%{?rhel}
+%if 0%{?rhel} >= 7
+%global install_systemd 1
+%global install_systemv 0
+%else
 %global install_systemd 0
 %global install_systemv 1
 %endif
+%endif
 
 Name: ovirt-scheduler-proxy
 Version: {VERSION}


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibd5ab8617a1a98b9973b28cfc3b8ebda414198ce
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-scheduler-proxy
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbona...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to