[drbd] Don't assemble xen package on armv7hl/aarch64 systems
Major Hayden
mhayden at fedoraproject.org
Fri Aug 8 12:40:13 UTC 2014
commit 0d6fed6e1d9a20d33091c5352e050c029d80544a
Author: Major Hayden <major at mhtx.net>
Date: Fri Aug 8 07:39:21 2014 -0500
Don't assemble xen package on armv7hl/aarch64 systems
drbd.spec | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/drbd.spec b/drbd.spec
index 1c89ab2..9da1f8a 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: 5%{?dist}
+Release: 6%{?dist}
Source0: http://oss.linbit.com/%{name}/%{name}-utils-%{version}.tar.gz
Source1: drbd.service
Patch0: disable_drbd_checkin.patch
@@ -106,7 +106,8 @@ This packages includes the DRBD administration tools.
%doc README
-
+# armv7hl/aarch64 doesn't have Xen packages
+%ifarch %{ix86} x86_64
%package xen
Summary: Xen block device management script for DRBD
Group: System Environment/Kernel
@@ -120,7 +121,7 @@ promoting and demoting DRBD resources as necessary.
%files xen
%defattr(755,root,root,-)
%{_sysconfdir}/xen/scripts/block-drbd
-
+%endif
%package udev
@@ -199,6 +200,9 @@ management utility.
%systemd_preun sshd.service
%changelog
+* Fri Aug 08 2014 Major Hayden <major at mhtx.net> - 8.9.0-6
+- Don't assemble xen package on armv7hl/aarch64 systems
+
* Thu Aug 07 2014 Major Hayden <major at mhtx.net> - 8.9.0-5
- Removing unneeded rgmanager dependency
More information about the scm-commits
mailing list