Change in vdsm[ovirt-3.2]: spec: enable gluster upstream and on fedora 19

fsimonce at redhat.com fsimonce at redhat.com
Thu Apr 11 14:13:24 UTC 2013


Hello Dan Kenigsberg,

I'd like you to do a code review.  Please visit

    http://gerrit.ovirt.org/13816

to review the following change.

Change subject: spec: enable gluster upstream and on fedora 19
......................................................................

spec: enable gluster upstream and on fedora 19

The gluster package should be always enabled upstream or since fedora 19
in koji builds.

Change-Id: I68436bf10cecdaea8b3ce6c95797aac4895ec482
Signed-off-by: Federico Simoncelli <fsimonce at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/13791
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M vdsm.spec.in
1 file changed, 10 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/16/13816/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index 46ddb46..c5009ee 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -10,6 +10,14 @@
 %global snlk_group @SNLKGROUP@
 %global snlk_user @SNLKUSER@
 
+# Fedora official build
+%global fedora_koji_build 0
+
+# Default to skipping autoreconf.  Distros can change just this one line
+# (or provide a command-line override) if they backport any patches that
+# touch configure.ac or Makefile.am.
+%{!?enable_autotools:%define enable_autotools 0}
+
 # Required paths
 %if 0%{?fedora} >= 18
 %global _polkitdir %{_datadir}/polkit-1/rules.d
@@ -17,8 +25,9 @@
 %global _polkitdir %{_localstatedir}/lib/polkit-1/localauthority/10-vendor.d
 %endif
 
-# Gluster
+%if !0%{fedora_koji_build} || 0%{?fedora} >= 19
 %global with_gluster 1
+%endif
 
 %if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
 %global with_systemd 1
@@ -27,11 +36,6 @@
 %if 0%{?fedora} >= 18
 %global with_systemd_macros 1
 %endif
-
-# Default to skipping autoreconf.  Distros can change just this one line
-# (or provide a command-line override) if they backport any patches that
-# touch configure.ac or Makefile.am.
-%{!?enable_autotools:%define enable_autotools 0}
 
 Name:           %{vdsm_name}
 Version:        @PACKAGE_VERSION@


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I68436bf10cecdaea8b3ce6c95797aac4895ec482
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.2
Gerrit-Owner: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>


More information about the vdsm-patches mailing list