This commit is contained in:
parent
076660183a
commit
e81599df6b
10
drbd.changes
10
drbd.changes
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 18 18:07:48 CEST 2008 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- remove outdated options in the fillup_and_insserv call
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 18 11:26:43 CEST 2008 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix name of completions file.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 15 09:41:31 CEST 2008 - lmb@suse.de
|
Tue Jul 15 09:41:31 CEST 2008 - lmb@suse.de
|
||||||
|
|
||||||
|
24
drbd.spec
24
drbd.spec
@ -2,9 +2,16 @@
|
|||||||
# spec file for package drbd (Version 8.2.6)
|
# spec file for package drbd (Version 8.2.6)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
|
||||||
# package are under the same license as the package itself.
|
|
||||||
#
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -17,7 +24,7 @@ BuildRequires: xen-tools
|
|||||||
%endif
|
%endif
|
||||||
Summary: Distributed Replicated Block Device
|
Summary: Distributed Replicated Block Device
|
||||||
Version: 8.2.6
|
Version: 8.2.6
|
||||||
Release: 1
|
Release: 3
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch0: drbd-optflags.patch
|
Patch0: drbd-optflags.patch
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
@ -85,6 +92,7 @@ export RPM_BUILD_ROOT
|
|||||||
export CONFIG_BLK_DEV_DRBD=m
|
export CONFIG_BLK_DEV_DRBD=m
|
||||||
export DIST=suselike
|
export DIST=suselike
|
||||||
make PREFIX=%{buildroot}/ install-tools
|
make PREFIX=%{buildroot}/ install-tools
|
||||||
|
mv $RPM_BUILD_ROOT/etc/bash_completion.d/drbdadm{,.sh}
|
||||||
ln -sf ../etc/init.d/drbd $RPM_BUILD_ROOT/sbin/rcdrbd
|
ln -sf ../etc/init.d/drbd $RPM_BUILD_ROOT/sbin/rcdrbd
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/lib/drbd
|
mkdir -p $RPM_BUILD_ROOT/var/lib/drbd
|
||||||
#
|
#
|
||||||
@ -109,10 +117,10 @@ for flavor in %flavors_to_build; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
|
rm -rf "$RPM_BUILD_ROOT"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{fillup_and_insserv -p}
|
%{fillup_and_insserv}
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%{stop_on_removal}
|
%{stop_on_removal}
|
||||||
@ -123,7 +131,7 @@ done
|
|||||||
%files -n drbd
|
%files -n drbd
|
||||||
%defattr(644, root, root)
|
%defattr(644, root, root)
|
||||||
%config(noreplace) /etc/drbd.conf
|
%config(noreplace) /etc/drbd.conf
|
||||||
/etc/bash_completion.d/drbdadm
|
/etc/bash_completion.d/drbdadm.sh
|
||||||
%defattr(755, root, root)
|
%defattr(755, root, root)
|
||||||
/sbin/drbdadm
|
/sbin/drbdadm
|
||||||
/sbin/drbdsetup
|
/sbin/drbdsetup
|
||||||
@ -151,6 +159,10 @@ done
|
|||||||
%doc scripts/drbd.conf
|
%doc scripts/drbd.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 18 2008 mrueckert@suse.de
|
||||||
|
- remove outdated options in the fillup_and_insserv call
|
||||||
|
* Mon Aug 18 2008 schwab@suse.de
|
||||||
|
- Fix name of completions file.
|
||||||
* Tue Jul 15 2008 lmb@suse.de
|
* Tue Jul 15 2008 lmb@suse.de
|
||||||
- Update to 8.2.6 and include all bugfixes from upstream.
|
- Update to 8.2.6 and include all bugfixes from upstream.
|
||||||
- Fix loading of module (bnc#403731).
|
- Fix loading of module (bnc#403731).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user