This commit is contained in:
parent
e276857a62
commit
33c0e4de42
@ -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
|
||||
|
||||
|
15
drbd.spec
15
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
|
||||
|
Loading…
Reference in New Issue
Block a user