1
0

Accepting request 20291 from Base:System

Copy from Base:System/multipath-tools based on submit request 20291 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/20291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=26
This commit is contained in:
OBS User autobuild 2009-09-10 10:57:08 +00:00 committed by Git OBS Bridge
commit 500aa2ded5
3 changed files with 25 additions and 4 deletions

13
multipath-fix.patch Normal file
View File

@ -0,0 +1,13 @@
Index: kpartx/kpartx.c
===================================================================
--- kpartx/kpartx.c.orig
+++ kpartx/kpartx.c
@@ -578,7 +578,7 @@ main(int argc, char **argv){
continue;
if (!dm_simplecmd(DM_DEVICE_REMOVE,
- partname)) {
+ partname, 1)) {
r++;
continue;
}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 8 20:56:53 UTC 2009 - aj@suse.de
- Fix last patch, one caller of dm_simplecmd was not updated
(multipath-fix.patch).
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 21 15:49:47 CEST 2009 - hare@suse.de Fri Aug 21 15:49:47 CEST 2009 - hare@suse.de

View File

@ -27,11 +27,12 @@ Requires: device-mapper kpartx
PreReq: %insserv_prereq %fillup_prereq coreutils grep PreReq: %insserv_prereq %fillup_prereq coreutils grep
AutoReqProv: on AutoReqProv: on
Version: 0.4.8 Version: 0.4.8
Release: 42 Release: 43
Summary: Tools to Manage Multipathed Devices with the device-mapper Summary: Tools to Manage Multipathed Devices with the device-mapper
Source: multipath-tools-%{version}.tar.bz2 Source: multipath-tools-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch0: %{name}-%{version}-opensuse-11.2.diff.bz2 Patch0: %{name}-%{version}-opensuse-11.2.diff.bz2
Patch1: multipath-fix.patch
%description %description
This package provides the tools to manage multipathed devices by This package provides the tools to manage multipathed devices by
@ -71,8 +72,9 @@ Authors:
Christophe Varoqui <christophe.varoqui@free.fr> Christophe Varoqui <christophe.varoqui@free.fr>
%prep %prep
%setup -n multipath-tools-%{version} %setup -q -n multipath-tools-%{version}
%patch0 -p1 %patch0 -p1
%patch1
%build %build
# This package failed when testing with -Wl,-as-needed being default. # This package failed when testing with -Wl,-as-needed being default.