Summary: Tools to manage multipath devices using device-mapper Name: device-mapper-multipath Version: 0.4.8 Release: 1%{?dist} License: GPL+ Group: System Environment/Base URL: http://christophe.varoqui.free.fr/ Source0: multipath-tools-080519.tgz Patch0: makefiles_fix.patch Patch1: linking_change.patch Patch2: uevent_fix.patch Patch3: sparc64fix.patch Patch4: directio_fix.patch Patch5: config_files.patch Patch6: redhatification.patch Patch7: mpath_wait.patch Patch8: multipath_rules.patch Patch9: cciss_id.patch Requires: kpartx = %{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires(post): chkconfig Requires(preun): chkconfig Requires: device-mapper >= 1.02.02-2 BuildRequires: libaio-devel, device-mapper-devel BuildRequires: libselinux-devel, libsepol-devel BuildRequires: readline-devel, ncurses-devel %description %{name} provides tools to manage multipath devices by instructing the device-mapper multipath kernel module what to do. The tools are : * multipath : Scan the system for multipath devices and assemble them. * multipathd : Detects when paths fail and execs multipath to update things. %package -n kpartx Summary: Partition device manager for device-mapper devices Group: System Environment/Base Provides: kpartx = %{version}-%{release} %description -n kpartx kpartx manages partition creation and removal for device-mapper devices. %prep %setup -q -n multipath-tools-080519 %patch0 -p1 -b .makefiles_fix %patch1 -p1 -b .linking_change %patch2 -p1 -b .uevent_fix %patch3 -p1 -b .sparc64fix %patch4 -p1 -b .directio_fix %patch5 -p1 -b .config_files %patch6 -p1 -b .redhatification %patch7 -p1 -b .mpath_wait %patch8 -p1 -b .multipath_rules %patch9 -p1 -b .cciss_id %build make %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT bindir=/sbin rcdir=/etc/rc.d/init.d %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig /sbin/chkconfig --add multipathd %preun if [ "$1" = 0 ]; then /sbin/service multipathd stop /dev/null 2>&1 /sbin/chkconfig --del multipathd fi %postun /sbin/ldconfig if [ "$1" - ge "1" ]; then /sbin/service multipathd condrestart >/dev/null 2>&1 || : fi %files %defattr(-,root,root,-) /sbin/multipath /sbin/multipathd /sbin/cciss_id /sbin/mpath_wait /lib/libmultipath.so /lib/multipath /etc/rc.d/init.d/multipathd %{_mandir}/man5/multipath.conf.5.gz %{_mandir}/man8/multipath.8.gz %{_mandir}/man8/multipathd.8.gz %config /etc/udev/rules.d/40-multipath.rules %config(noreplace) /etc/multipath.conf %doc AUTHOR COPYING README* FAQ multipath.conf.annotated multipath.conf.defaults multipath.conf.synthetic %dir /var/lib/multipath %files -n kpartx %defattr(-,root,root,-) /sbin/kpartx %{_mandir}/man8/kpartx.8.gz %changelog * Mon May 19 2008 Benjamin Marzinski 0.4.8-1 - Updated to latest Upstream 0.4.8 code: multipath-tools-080519.tgz (git commit id: 42704728855376d2f7da2de1967d7bc71bc54a2f) * Tue May 06 2008 Alasdair Kergon - 0.4.7-15 - Remove unnecessary multipath & kpartx static binaries. (bz 234928) * Fri Feb 29 2008 Tom "spot" Callaway - 0.4.7-14 - fix sparc64 - fix license tag * Tue Feb 19 2008 Fedora Release Engineering - 0.4.7-13 - Autorebuild for GCC 4.3 * Wed Nov 14 2007 Benjamin Marzinski - 0.4.7-12 - Fixed the dist tag so building will work properly. * Mon Feb 05 2007 Alasdair Kergon - 0.4.7-11.fc7 - Add build dependency on new device-mapper-devel package. - Add dependency on device-mapper. * Wed Jan 31 2007 Benjamin Marzinksi - 0.4.7-10.fc7 - Update BuildRoot and PreReq lines. * Mon Jan 15 2007 Benjamin Marzinksi - 0.4.7-9.fc7 - Fixed spec file. * Mon Jan 15 2007 Benjamin Marzinski - 0.4.7-8.fc7 - Update to latest code (t0_4_7_head2) * Wed Dec 13 2006 Benjamin Marzinski - 0.4.7-7.fc7 - Update to latest code (t0_4_7_head1) * Thu Sep 7 2006 Peter Jones - 0.4.7-5 - Fix kpartx to handle with drives >2TB correctly. * Thu Aug 31 2006 Peter Jones - 0.4.7-4.1 - Split kpartx out into its own package so dmraid can use it without installing multipathd - Fix a segfault in kpartx * Mon Jul 17 2006 Benjamin Marzinski 0.4.7-4.0 - Updated to latest source. Fixes bug in default multipath.conf * Wed Jul 12 2006 Benjamin Marzinski 0.4.7-3.1 - Added ncurses-devel to BuildRequires * Wed Jul 12 2006 Benjamin Marzinski 0.4.7-3.0 - Updated to latest source. deals with change in libsysfs API * Wed Jul 12 2006 Jesse Keating - 0.4.7-2.2.1 - rebuild * Mon Jul 10 2006 Benjamin Marzinski 0.4.7-2.2 - fix tagging issue. * Mon Jul 10 2006 Benjamin Marzinski 0.4.7-2.1 - changed BuildRequires from sysfsutils-devel to libsysfs-devel * Wed Jun 28 2006 Benjamin Marzinski 0.4.7-2.0 - Updated to latest upstream source, fixes kpartx udev rule issue * Mon Jun 06 2006 Benjamin Marzinski 0.4.7-1.0 - Updated to Christophe's latest source * Mon May 22 2006 Alasdair Kergon - 0.4.5-16.0 - Newer upstream source (t0_4_5_post59). * Mon May 22 2006 Alasdair Kergon - 0.4.5-12.3 - BuildRequires: libsepol-devel, readline-devel * Mon Feb 27 2006 Benjamin Marzinski 0.4.5-12.2 - Prereq: chkconfig * Mon Feb 20 2006 Karsten Hopp 0.4.5-12.1 - BuildRequires: libselinux-devel * Fri Feb 10 2006 Jesse Keating - 0.4.5-12.0.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Benjamin Marzinski -0.4.5-12.0 - Updated to latest upstream source (t0_4_5_post56) * Tue Feb 07 2006 Jesse Keating - 0.4.5-9.1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Mon Dec 19 2005 Benjamin Marzinski - 0.4.5-9.1 - added patch for fedora changes * Fri Dec 16 2005 Benjamin Marzinski - 0.4.5-9.0 - Updated to latest upstream source (t)_4_5_post52) * Fri Dec 09 2005 Jesse Keating - rebuilt * Sun Dec 4 2005 Peter Jones - 0.4.4-2.6 - rebuild for newer libs * Tue Nov 15 2005 Peter Jones - 0.4.4-2.5 - unsplit kpartx. parted knows how to do this now, so we don't need this in a separate package. * Tue Nov 15 2005 Peter Jones - 0.4.4-2.4 - split kpartx out into its own package * Fri May 06 2005 Bill Nottingham - 0.4.4-2.3 - Fix last fix. * Thu May 05 2005 Alasdair Kergon - 0.4.4-2.2 - Fix last fix. * Wed May 04 2005 Alasdair Kergon - 0.4.4-2.1 - By default, disable the multipathd service. * Tue Apr 19 2005 Alasdair Kergon - 0.4.4-2.0 - Fix core dump from last build. * Tue Apr 19 2005 Alasdair Kergon - 0.4.4-1.0 - Move cache file into /var/cache/multipath. * Fri Apr 08 2005 Alasdair Kergon - 0.4.4-0.pre8.1 - Remove pp_balance_units. * Mon Apr 04 2005 Alasdair Kergon - 0.4.4-0.pre8.0 - Incorporate numerous upstream fixes. - Update init script to distribution standards. * Tue Mar 01 2005 Alasdair Kergon - 0.4.2-1.0 - Initial import based on Christophe Varoqui's spec file.