diff --git a/drbd.changes b/drbd.changes index a1f1bef..afb769f 100644 --- a/drbd.changes +++ b/drbd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 4 12:04:56 CEST 2008 - ro@suse.de + +- buildreq xen-tools only on x86,x86_64 + ------------------------------------------------------------------- Tue Jun 3 21:57:39 CEST 2008 - coolo@suse.de diff --git a/drbd.spec b/drbd.spec index c920a01..80742b5 100644 --- a/drbd.spec +++ b/drbd.spec @@ -11,10 +11,13 @@ Name: drbd -BuildRequires: bison flex glib-devel kernel-source kernel-syms module-init-tools xen-tools +BuildRequires: bison flex glib-devel kernel-source kernel-syms module-init-tools +%ifarch %ix86 x86_64 +BuildRequires: xen-tools +%endif Summary: Distributed Replicated Block Device Version: 8.2.5 -Release: 16 +Release: 17 Source: %{name}-%{version}.tar.bz2 Patch0: drbd-optflags.patch License: GPL v2 or later @@ -93,6 +96,10 @@ cat <<___ > $RPM_BUILD_ROOT/etc/drbd.conf # %{_docdir}/drbd/drbd.conf # ___ +# +%ifnarch %ix86 x86_64 +rm -rf $RPM_BUILD_ROOT/etc/xen +%endif # Install kernel modules: export INSTALL_MOD_PATH=$RPM_BUILD_ROOT export INSTALL_MOD_DIR=updates @@ -121,7 +128,9 @@ done /sbin/drbdsetup /sbin/rcdrbd /sbin/drbdmeta +%ifarch %ix86 x86_64 /etc/xen/scripts/block-drbd +%endif /etc/ha.d/resource.d/drbddisk %config /etc/init.d/drbd %defattr(-, root, root) @@ -141,6 +150,8 @@ done %doc scripts/drbd.conf %changelog +* Wed Jun 04 2008 ro@suse.de +- buildreq xen-tools only on x86,x86_64 * Tue Jun 03 2008 coolo@suse.de - avoid packaging a directory of xen-tools with different permissions * Tue Apr 15 2008 lmb@suse.de