SHA256
1
0
forked from pool/drbd
OBS User unknown 2008-06-04 11:07:09 +00:00 committed by Git OBS Bridge
parent e276857a62
commit 33c0e4de42
2 changed files with 18 additions and 2 deletions

View File

@ -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

View File

@ -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