forked from pool/multipath-tools
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:
commit
500aa2ded5
13
multipath-fix.patch
Normal file
13
multipath-fix.patch
Normal 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;
|
||||||
|
}
|
@ -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
|
||||||
|
|
||||||
|
@ -21,17 +21,18 @@
|
|||||||
Name: multipath-tools
|
Name: multipath-tools
|
||||||
BuildRequires: device-mapper-devel libaio-devel readline-devel
|
BuildRequires: device-mapper-devel libaio-devel readline-devel
|
||||||
Url: http://christophe.varoqui.free.fr/
|
Url: http://christophe.varoqui.free.fr/
|
||||||
License: BSD 3-clause (or similar) ; GPL v2 or later ; LGPL v2.1 or later ; Public Domain, Freeware ; MIT License (or similar)
|
License: BSD 3-clause (or similar) ; GPL v2 or later ; LGPL v2.1 or later ; Public Domain, Freeware ; MIT License (or similar)
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
Requires: device-mapper kpartx
|
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
|
||||||
@ -55,7 +56,7 @@ Authors:
|
|||||||
Christophe Varoqui <christophe.varoqui@free.fr>
|
Christophe Varoqui <christophe.varoqui@free.fr>
|
||||||
|
|
||||||
%package -n kpartx
|
%package -n kpartx
|
||||||
License: BSD 3-clause (or similar) ; GPL v2 or later ; LGPL v2.1 or later ; Public Domain, Freeware ; MIT License (or similar)
|
License: BSD 3-clause (or similar) ; GPL v2 or later ; LGPL v2.1 or later ; Public Domain, Freeware ; MIT License (or similar)
|
||||||
Summary: Manages partition tables on device-mapper devices
|
Summary: Manages partition tables on device-mapper devices
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
Requires: device-mapper
|
Requires: device-mapper
|
||||||
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user