Incorporate numerous upstream fixes. Update init script to distribution
standards.
This commit is contained in:
parent
72fa9d844e
commit
48a97ca0b5
@ -1 +1 @@
|
|||||||
multipath-tools-0.4.2.tar.bz2
|
multipath-tools-0.4.4-pre8.tar.bz2
|
||||||
|
@ -1,15 +1,16 @@
|
|||||||
Summary: Tools to manage multipath devices using device-mapper.
|
Summary: Tools to manage multipath devices using device-mapper.
|
||||||
Name: device-mapper-multipath
|
Name: device-mapper-multipath
|
||||||
Version: 0.4.2
|
Version: 0.4.4
|
||||||
Release: 1.0
|
Release: 0.pre8.0
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://christophe.varoqui.free.fr/
|
URL: http://christophe.varoqui.free.fr/
|
||||||
Source0: multipath-tools-%{version}.tar.bz2
|
Source0: multipath-tools-0.4.4-pre8.tar.bz2
|
||||||
Patch0: old_dev_t_long.patch
|
Patch0: old_dev_t_long.patch
|
||||||
Patch1: old_dev_t_int.patch
|
Patch1: old_dev_t_int.patch
|
||||||
Patch2: old_dev_t_short.patch
|
Patch2: old_dev_t_short.patch
|
||||||
Patch3: makefile.patch
|
Patch3: makefile.patch
|
||||||
|
Patch4: kpartx_endian.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||||
BuildRequires: sysfsutils-devel,device-mapper
|
BuildRequires: sysfsutils-devel,device-mapper
|
||||||
|
|
||||||
@ -22,7 +23,7 @@ The tools are :
|
|||||||
* kpartx : Makes multipath devices partitionable.
|
* kpartx : Makes multipath devices partitionable.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n multipath-tools-%{version}
|
%setup -q -n multipath-tools-0.4.4-pre8
|
||||||
|
|
||||||
%ifarch ppc64 x86_64
|
%ifarch ppc64 x86_64
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
@ -37,6 +38,7 @@ The tools are :
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make DESTDIR=$RPM_BUILD_ROOT
|
make DESTDIR=$RPM_BUILD_ROOT
|
||||||
@ -48,13 +50,13 @@ make install DESTDIR=$RPM_BUILD_ROOT bindir=/sbin rcdir=/etc/rc.d/init.d
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
#%post
|
%post
|
||||||
#/sbin/chkconfig --add multipathd
|
/sbin/chkconfig --add multipathd
|
||||||
|
|
||||||
#%preun
|
%preun
|
||||||
#if [ "$1" = 0 ]; then
|
if [ "$1" = 0 ]; then
|
||||||
# /sbin/chkconfig --del multipathd
|
/sbin/chkconfig --del multipathd
|
||||||
#fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -69,5 +71,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc AUTHOR COPYING README* FAQ multipath.conf.* multipath/01_udev multipath/02_multipath multipath/multipath.dev
|
%doc AUTHOR COPYING README* FAQ multipath.conf.* multipath/01_udev multipath/02_multipath multipath/multipath.dev
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 04 2005 Alasdair Kergon <agk@redhat.com> - 0.4.4-0.pre8.0
|
||||||
|
- Incorporate numerous upstream fixes.
|
||||||
|
- Update init script to distribution standards.
|
||||||
|
|
||||||
* Tue Mar 01 2005 Alasdair Kergon <agk@redhat.com> - 0.4.2-1.0
|
* Tue Mar 01 2005 Alasdair Kergon <agk@redhat.com> - 0.4.2-1.0
|
||||||
- Initial import based on Christophe Varoqui's spec file.
|
- Initial import based on Christophe Varoqui's spec file.
|
||||||
|
Loading…
Reference in New Issue
Block a user