[drbd] Don't write Xen scripts on arm systems

Major Hayden mhayden at fedoraproject.org
Fri Aug 8 13:14:02 UTC 2014


commit 5ad8bce3419bdbba1b1c18853ee63b19d3c98bbd
Author: Major Hayden <major at mhtx.net>
Date:   Fri Aug 8 08:13:17 2014 -0500

    Don't write Xen scripts on arm systems

 drbd.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/drbd.spec b/drbd.spec
index 9da1f8a..fb32ab8 100644
--- a/drbd.spec
+++ b/drbd.spec
@@ -1,7 +1,7 @@
 Name: drbd
 Summary: DRBD user-land tools and scripts 
 Version: 8.9.0
-Release: 6%{?dist}
+Release: 7%{?dist}
 Source0: http://oss.linbit.com/%{name}/%{name}-utils-%{version}.tar.gz
 Source1: drbd.service
 Patch0: disable_drbd_checkin.patch
@@ -40,7 +40,11 @@ This is a virtual package, installing the full user-land suite.
     --with-utils \
     --without-km \
     --with-udev \
+%ifarch %{ix86} x86_64 
     --with-xen \
+%else
+    --without-xen \
+%endif
     --with-pacemaker \
     --with-rgmanager \
     --with-distro=generic \
@@ -200,6 +204,9 @@ management utility.
 %systemd_preun sshd.service
 
 %changelog
+* Fri Aug 08 2014 Major Hayden <major at mhtx.net> - 8.9.0-7
+- Don't write Xen scripts on arm systems
+
 * Fri Aug 08 2014 Major Hayden <major at mhtx.net> - 8.9.0-6
 - Don't assemble xen package on armv7hl/aarch64 systems
 


More information about the scm-commits mailing list