From b9cffc4799504363e3105e14903ac44006b796df Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Tue, 6 May 2008 18:04:46 +0000 Subject: [PATCH] second attempt at no static --- device-mapper-multipath.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device-mapper-multipath.spec b/device-mapper-multipath.spec index 8d9e3cc..21fc7b7 100644 --- a/device-mapper-multipath.spec +++ b/device-mapper-multipath.spec @@ -7,6 +7,7 @@ Group: System Environment/Base URL: http://christophe.varoqui.free.fr/ Source0: multipath-tools-0.4.7.head2.tgz Patch0: multipath-tools-0.4.7.head2-sparc64fix.patch +Patch1: multipath-tools-0.4.7.head2-nostatic.patch Requires: kpartx = %{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires(post): chkconfig @@ -34,6 +35,7 @@ kpartx manages partition creation and removal for device-mapper devices. %prep %setup -q -n multipath-tools-0.4.7.head2 %patch0 -p1 -b .sparc64 +%patch1 -p1 -b .nostatic %build make DESTDIR=$RPM_BUILD_ROOT @@ -41,8 +43,6 @@ make DESTDIR=$RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT bindir=/sbin rcdir=/etc/rc.d/init.d -rm -f $RPM_BUILD_ROOT/sbin/multipath.static -rm -f $RPM_BUILD_ROOT/sbin/kpartx.static %clean rm -rf $RPM_BUILD_ROOT