summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@fedoraproject.org>2008-05-06 18:04:46 +0000
committerAlasdair Kergon <agk@fedoraproject.org>2008-05-06 18:04:46 +0000
commitb9cffc4799504363e3105e14903ac44006b796df (patch)
treef6be9cb5520121ee4f00c50a0b830ddbad3c01cd
parent9935f1b0acc342db842b265278767ce68ff757f7 (diff)
downloaddevice-mapper-multipath-b9cffc4799504363e3105e14903ac44006b796df.tar.gz
device-mapper-multipath-b9cffc4799504363e3105e14903ac44006b796df.tar.xz
device-mapper-multipath-b9cffc4799504363e3105e14903ac44006b796df.zip
second attempt at no static
-rw-r--r--device-mapper-multipath.spec4
1 files 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