Accepting request 478509 from home:mwilck:branches:Base:System
- Update to version 0.6.4+103+suse.bcb5d0f4: * changed to official github repo openSUSE/multipath-tools (no changes code-wise) - Spec file: Added dependency on sg3_utils (#boo1028857) - spec file changes: optional librados and libdmmp support * enabled by default on Factory and Leap (disable with --without-rados, --without-libdmmp) * disabled by default on SLES12 (enable with --with-rados, --with-libdmmp) * libdmmp0_1_0 and libdmmp-devel as separate packages * minor fixes for RPMLINT warnings - Update to version 0.6.4+102.0119472d: * rebased, code-wise identical to previous checkout - Update to version 0.6.4+102.df7d367e: * libmultipath/propsel: Do not select sysfs prioritizer for RDAC arrays (bsc#1004858) - Update to version 0.6.4+101.f01ef4da (SLES12 SP2 changes wrt upstream): * Make libdmmp build optional * multipath.rules: use -i flag to multipath * kpartx: create symlinks for dmraid devices * kpartx: Add udev compability rules for SUSE * libmultipath/checkers: make RADOS checker optional * multipathd: fixup check for new path states (bsc#1019798) * tur: Add pthread_testcancel() (bsc#101979) * kpartx: sanitize delete partitions (bsc#100869) * libmultipath: coalesce_paths: trigger uevent if nothing done OBS-URL: https://build.opensuse.org/request/show/478509 OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=114
This commit is contained in:
parent
8c6a8ba571
commit
0007d3fe8a
10
_service
10
_service
@ -1,16 +1,16 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<service name="tar_scm" mode="localonly">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/openSUSE/multipath-tools.git</param>
|
||||
<param name="subdir"></param>
|
||||
<param name="filename">multipath-tools</param>
|
||||
<param name="versionformat">0.6.2+suse%cd.%h</param>
|
||||
<param name="revision">sles12-sp2</param>
|
||||
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@+suse.%h</param>
|
||||
<param name="revision">bcb5d0f4</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<service name="recompress" mode="localonly">
|
||||
<param name="file">*multipath-tools*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
<service name="set_version" mode="localonly"/>
|
||||
</services>
|
||||
|
10
_servicedata
10
_servicedata
@ -1,6 +1,6 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/openSUSE/multipath-tools.git</param>
|
||||
<param name="changesrevision">c560463067b27825167e63d9f6b52c90751bea98</param>
|
||||
</service>
|
||||
</servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/mwilck/multipath-tools.git</param>
|
||||
<param name="changesrevision">0119472d847eaa24cae7a0f3b523af82f50dd4df</param></service><service name="tar_scm">
|
||||
<param name="url">https://github.com/openSUSE/multipath-tools.git</param>
|
||||
<param name="changesrevision">0119472d847eaa24cae7a0f3b523af82f50dd4df</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4f9d26cb0fff486df4de5a7a260e7689e0d75d00c7cdcfcf85110a44f906cb06
|
||||
size 188472
|
3
multipath-tools-0.6.4+103+suse.bcb5d0f4.tar.xz
Normal file
3
multipath-tools-0.6.4+103+suse.bcb5d0f4.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:47e07a9570347301595fbcd5a58a9cece9d08b56eebb1572efaee4fbb7a44174
|
||||
size 250004
|
@ -1,10 +1,123 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 10 13:04:05 UTC 2017 - mwilck@suse.com
|
||||
|
||||
- Update to version 0.6.4+103+suse.bcb5d0f4:
|
||||
* changed to official github repo openSUSE/multipath-tools
|
||||
(no changes code-wise)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 10 11:23:40 UTC 2017 - mwilck@suse.com
|
||||
|
||||
- Spec file: Added dependency on sg3_utils (#boo1028857)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 01 15:43:09 UTC 2017 - mwilck@suse.com
|
||||
|
||||
- spec file changes: optional librados and libdmmp support
|
||||
* enabled by default on Factory and Leap
|
||||
(disable with --without-rados, --without-libdmmp)
|
||||
* disabled by default on SLES12
|
||||
(enable with --with-rados, --with-libdmmp)
|
||||
* libdmmp0_1_0 and libdmmp-devel as separate packages
|
||||
* minor fixes for RPMLINT warnings
|
||||
- Update to version 0.6.4+102.0119472d:
|
||||
* rebased, code-wise identical to previous checkout
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 28 11:26:01 UTC 2017 - mwilck@suse.com
|
||||
|
||||
- Update to version 0.6.4+102.df7d367e:
|
||||
* libmultipath/propsel: Do not select sysfs prioritizer for RDAC arrays
|
||||
(bsc#1004858)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 28 10:29:31 UTC 2017 - mwilck@suse.com
|
||||
|
||||
- Update to version 0.6.4+101.f01ef4da (SLES12 SP2 changes wrt upstream):
|
||||
* Make libdmmp build optional
|
||||
* multipath.rules: use -i flag to multipath
|
||||
* kpartx: create symlinks for dmraid devices
|
||||
* kpartx: Add udev compability rules for SUSE
|
||||
* libmultipath/checkers: make RADOS checker optional
|
||||
* multipathd: fixup check for new path states (bsc#1019798)
|
||||
* tur: Add pthread_testcancel() (bsc#101979)
|
||||
* kpartx: sanitize delete partitions (bsc#100869)
|
||||
* libmultipath: coalesce_paths: trigger uevent if nothing done
|
||||
(bsc#998906, bsc#998893, bsc#1005763, bsc#1011400)
|
||||
* libmultipath: differentiate ACT_NOTHING and ACT_IMPOSSIBLE
|
||||
(bsc#998906, bsc#998893, bsc#1005763, bsc#1011400)
|
||||
* libmultipath: reload map if not known to udev
|
||||
(bsc#998906, bsc#998893, bsc#1005763, bsc#1011400)
|
||||
* libmultipath: sysfs_attr_set_value: use const char*
|
||||
(bsc#998906, bsc#998893, bsc#1005763, bsc#1011400)
|
||||
* libmultipath: select_action: check special features separately
|
||||
(bsc#998906, bsc#998893, bsc#1005763, bsc#1011400)
|
||||
* libmultipath: disassemble_map: treat aminio like assemble_map does
|
||||
(bsc#998906, bsc#998893, bsc#1005763, bsc#1011400)
|
||||
* libmultipath: disassemble_map: skip no_path_retry check
|
||||
(bsc#998906, bsc#998893, bsc#1005763, bsc#1011400)
|
||||
* libmultipath: setup_feature: handle "retain_attached_hw_handler"
|
||||
(bsc#998906, bsc#998893, bsc#1005763, bsc#1011400)
|
||||
* libmultipath: setup_feature: print log msg if no_path_retry cant be set
|
||||
(bsc#998906, bsc#998893, bsc#1005763, bsc#1011400)
|
||||
* libmultipath: setup_features: log msg if queue_if_no_path is ignored
|
||||
(bsc#998906, bsc#998893, bsc#1005763, bsc#1011400)
|
||||
* multipathd: use weaker "force_reload" at startup
|
||||
(bsc#998906, bsc#998893, bsc#1005763, bsc#1011400)
|
||||
* multipathd: imply -n if find_multipaths is set (bsc#1012910)
|
||||
* multipath: ignore -i if find_multipaths is set (bsc#1012910)
|
||||
* libmultipath: move suspend logic to _dm_flush_map (bsc#986838)
|
||||
* multipath -ll: set DI_SERIAL (bsc#991432)
|
||||
* libmultipath: use existing alias from bindings file (bsc#1005255)
|
||||
* libmultipath/discovery: do not cache 'access_state' sysfs attribute (bsc#1004858)
|
||||
* multipathd: issue systemd READY after initial configuration (bsc#1006469)
|
||||
* multipath: avoid crash when using modified configuration (bsc#1000914)
|
||||
* multipathd: Set CLI timeout correctly (bsc#999061)
|
||||
* libmultipath: Do not crash on empty features (bsc#994812)
|
||||
* libmultipath: fall back to search paths by devt (bsc#995645)
|
||||
* multipathd: set timeout for CLI commands correctly (bsc#999061)
|
||||
* Invalid error code when using multipathd CLI
|
||||
* multipath: do not check daemon from udev rules (bsc#986734)
|
||||
* Add support for "multipath=off" and "nompath" on kernel cmdline
|
||||
* multipathd: start daemon after udev trigger (bsc#98673)
|
||||
* multipathd.service: fixup Wants= and Before= statements (bsc#1019181, bsc#991742, bsc#986734)
|
||||
|
||||
- Update to current upstream (0.6.4-65-ga2675025)
|
||||
* Avoid that reloading a map sporadically triggers I/O errors
|
||||
* fix udev rules for failed multipath devices
|
||||
* multipathd: allow resetting stats
|
||||
* multipathd: add messages on delayed path addition
|
||||
* multipathd: don't update priority of failed paths
|
||||
* libmultipath: cleanup orphan device states
|
||||
* libmultipath: add detect_checker option
|
||||
* kpartx: don't keep creating recursive partitions
|
||||
* multipath-tools: Introducing multipath C API
|
||||
* multipath-tools: sync valgrind.h with 3.12 upstream
|
||||
* multipath-tools: add availability of service-time and queue-length to multipath.conf.5
|
||||
* multipath-tools: add availability of service-time and queue-length to multipath.conf.5
|
||||
* Fill NVMe specific path info
|
||||
* Don't blacklist nvme
|
||||
* multipath-tools: fix misspellings
|
||||
* multipath-tools: git should ignore rej and orig files
|
||||
* Include sys/sysmacros.h
|
||||
* Tolerate modprobe failures in multipathd.service
|
||||
* multipath-tools: Remove trailing and leading whitespaces
|
||||
* multipath-tools: Perform socket client uid check on IPC commands.
|
||||
* multipath-tools: Set errno mpath_recv_reply() when failure
|
||||
* multipath-tools: New way to limit the IPC command length.
|
||||
* multipath-tools: libmultipath: Removed unused functions.
|
||||
* multipath-tools: libmultipath: fix gcc link failure on rcu_register_thread_mb.
|
||||
* multipath-tools: multipathd: Fix memory leak on load_config().
|
||||
* [multipathd] Remove trailing whitespaces
|
||||
* multipathd: deterministic io throughput in multipath
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 18 22:04:25 UTC 2017 - kukuk@suse.com
|
||||
|
||||
- Remove superfluous PreReq for insserv and fillup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 06:04:00 UTC 2016 - opensuse-packaging@opensuse.org
|
||||
Thu Sep 29 06:04:00 UTC 2016 - mwilck@suse.com
|
||||
|
||||
- Update to version 0.6.2+suse20160928.8939fb6
|
||||
|
||||
|
@ -16,11 +16,62 @@
|
||||
#
|
||||
|
||||
|
||||
%define version_unconverted 0.6.2+suse20160928.8939fb6
|
||||
# Workaround for Leap 42.1 bug, bsc#940315
|
||||
%if 0%{?suse_version} == 1315
|
||||
%if 0%{?is_opensuse} == 1
|
||||
%if 0%{?sle_version} == 0
|
||||
%define sle_version 120100
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# Whether to build with RADOS support
|
||||
# Default YES on openSUSE factory and leap
|
||||
# Default NO on SLES 12 >= SP2
|
||||
# Always NO on other distros
|
||||
%if 0%{?suse_version} == 1315
|
||||
%if 0%{?is_opensuse} == 1
|
||||
%bcond_without rados
|
||||
%else
|
||||
%if 0%{?sle_version} >= 120200
|
||||
%bcond_with rados
|
||||
%endif
|
||||
%endif
|
||||
%else
|
||||
%if 0%{?suse_version} >= 1330
|
||||
%bcond_without rados
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# Whether to build libdmmp
|
||||
# Default YES on openSUSE factory and leap
|
||||
# Default NO on SLES 12
|
||||
# Always NO on other distros
|
||||
%if 0%{?suse_version} == 1315
|
||||
%if 0%{?is_opensuse} == 1
|
||||
%bcond_without libdmmp
|
||||
%else
|
||||
%bcond_with libdmmp
|
||||
%endif
|
||||
%else
|
||||
%if 0%{?suse_version} >= 1330
|
||||
%bcond_without libdmmp
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# This should match the version in libdmmp/Makefile
|
||||
%define _libdmmp_version 0.1.0
|
||||
%define libdmmp_version %(echo %{_libdmmp_version} | tr . _)
|
||||
|
||||
Name: multipath-tools
|
||||
BuildRequires: device-mapper-devel
|
||||
BuildRequires: libaio-devel
|
||||
%if 0%{?with_rados} == 1
|
||||
BuildRequires: librados-devel
|
||||
%endif
|
||||
%if 0%{?with_libdmmp} == 1
|
||||
BuildRequires: libjson-c-devel
|
||||
%endif
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: liburcu-devel
|
||||
BuildRequires: readline-devel
|
||||
@ -30,8 +81,9 @@ BuildRequires: pkgconfig(systemd)
|
||||
Url: http://christophe.varoqui.free.fr/
|
||||
Requires: device-mapper >= 1.2.78
|
||||
Requires: kpartx
|
||||
Requires: sg3_utils
|
||||
PreReq: coreutils grep
|
||||
Version: 0.6.2+suse20160928.8939fb6
|
||||
Version: 0.6.4+103+suse.bcb5d0f4
|
||||
Release: 0
|
||||
Summary: Tools to Manage Multipathed Devices with the device-mapper
|
||||
License: GPL-2.0
|
||||
@ -41,11 +93,8 @@ Group: System/Base
|
||||
Source: multipath-tools-%{version}.tar.xz
|
||||
Source1: multipath.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if %suse_version > 1220
|
||||
|
||||
%define _sysdir usr/lib
|
||||
%else
|
||||
%define _sysdir lib
|
||||
%endif
|
||||
|
||||
%description
|
||||
This package provides the tools to manage multipathed devices by
|
||||
@ -80,18 +129,37 @@ Requires: device-mapper
|
||||
This package contains the development libraries for multipath-tools
|
||||
and libmpath_persist.
|
||||
|
||||
%if 0%{?with_libdmmp} == 1
|
||||
%package -n libdmmp%{libdmmp_version}
|
||||
Summary: C API for multipath-tools
|
||||
Group: System/Libraries
|
||||
Requires: multipath-tools
|
||||
|
||||
%description -n libdmmp%{libdmmp_version}
|
||||
This library enables the use of libmultipath commands from C code.
|
||||
|
||||
%package -n libdmmp-devel
|
||||
Summary: Header files for multipath-tools C API
|
||||
Group: Development/Libraries/Other
|
||||
Requires: libdmmp%{libdmmp_version}
|
||||
|
||||
%description -n libdmmp-devel
|
||||
This package provides development files and documentation for libdmmp.
|
||||
|
||||
%endif
|
||||
|
||||
%define makeflags %{!?with_rados:ENABLE_RADOS=0} %{!?with_libdmmp:ENABLE_LIBDMMP=0}
|
||||
|
||||
%prep
|
||||
%setup -q -n multipath-tools-%{version}
|
||||
|
||||
%build
|
||||
make CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" LIB=%{_lib} SYSTEMDPATH=%{_sysdir}
|
||||
make CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" LIB=%{_lib} SYSTEMDPATH=%{_sysdir} %{makeflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib} SYSTEMDPATH=%{_sysdir} install
|
||||
make DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib} SYSTEMDPATH=%{_sysdir} %{makeflags} install
|
||||
mkdir -p $RPM_BUILD_ROOT/var/cache/multipath/
|
||||
rm $RPM_BUILD_ROOT/%_lib/libmpathpersist.so
|
||||
rm $RPM_BUILD_ROOT/%_lib/libmpathcmd.so
|
||||
rm $RPM_BUILD_ROOT/%_lib/libmultipath.so
|
||||
rm $RPM_BUILD_ROOT/%_lib/*.so
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/sbin
|
||||
ln -sf /usr/sbin/service $RPM_BUILD_ROOT/usr/sbin/rcmultipathd
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/lib/modules-load.d
|
||||
@ -130,9 +198,10 @@ exit 0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING README ChangeLog
|
||||
%doc COPYING README
|
||||
%{_udevrulesdir}/11-dm-mpath.rules
|
||||
%{_udevrulesdir}/56-multipath.rules
|
||||
%{_udevrulesdir}/67-kpartx-compat.rules
|
||||
/%{_lib}/libmultipath.so.0
|
||||
/%{_lib}/libmpathcmd.so.0
|
||||
/%{_lib}/libmpathpersist.so.0
|
||||
@ -162,8 +231,28 @@ exit 0
|
||||
%defattr(-,root,root)
|
||||
/sbin/kpartx
|
||||
%{_udevrulesdir}/66-kpartx.rules
|
||||
%{_udevrulesdir}/67-kpartx-compat.rules
|
||||
/%{_sysdir}/udev/kpartx_id
|
||||
%{_mandir}/man8/kpartx.8*
|
||||
|
||||
%if 0%{?with_libdmmp} == 1
|
||||
|
||||
%post -n libdmmp%{libdmmp_version}
|
||||
%{run_ldconfig}
|
||||
|
||||
%postun -n libdmmp%{libdmmp_version}
|
||||
%{run_ldconfig}
|
||||
|
||||
%files -n libdmmp%{libdmmp_version}
|
||||
%defattr(-,root,root)
|
||||
/%{_lib}/libdmmp.so.%{_libdmmp_version}
|
||||
|
||||
%files -n libdmmp-devel
|
||||
%defattr(-,root,root)
|
||||
%{_mandir}/man3/libdmmp.h*
|
||||
%{_mandir}/man3/dmmp_*
|
||||
%{_includedir}/libdmmp
|
||||
%{_datadir}/pkgconfig/libdmmp.pc
|
||||
|
||||
%endif # with_libdmmp
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user