update to 0.8.5 [release 0.8.5-1mamba;Thu Dec 10 2020]
This commit is contained in:
parent
05a7bbb199
commit
14e2936530
@ -1,24 +1,26 @@
|
||||
Name: multipath-tools
|
||||
Version: 0.5.0
|
||||
Release: 2mamba
|
||||
Version: 0.8.5
|
||||
Release: 1mamba
|
||||
Summary: Tools for multipath connectivity
|
||||
Group: System/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://christophe.varoqui.free.fr/
|
||||
Source: http://christophe.varoqui.free.fr/multipath-tools/multipath-tools-%{version}.tar.bz2
|
||||
Source: https://github.com/opensvc/multipath-tools.git/%{version}/multipath-tools-%{version}.tar.bz2
|
||||
Patch0: multipath-tools-0.5.0-readline-link-with-termcap.patch
|
||||
Patch1: multipath-tools-0.5.0-systemd-230.patch
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libaio-devel
|
||||
BuildRequires: libdevmapper-devel
|
||||
BuildRequires: libjson-c-devel
|
||||
BuildRequires: libreadline-devel
|
||||
BuildRequires: libsystemd-devel
|
||||
BuildRequires: libtermcap-devel
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: liburcu-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libsystemd-devel >= 230-1mamba
|
||||
Requires(post): systemd-core
|
||||
@ -47,8 +49,8 @@ This package contains libraries and header files for developing applications tha
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
#%patch0 -p1
|
||||
#%patch1 -p1
|
||||
|
||||
%build
|
||||
%make libudevdir=/lib/udev unitdir=%{_unitdir}
|
||||
@ -65,9 +67,15 @@ ln -s libmpathpersist.so.0 %{buildroot}/%{_lib}/libmpathpersist.so
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
if [ $1 -ge 1 ]; then
|
||||
systemctl -q daemon-reload
|
||||
fi
|
||||
%systemd_post multipathd.socket
|
||||
:
|
||||
|
||||
%preun
|
||||
%systemd_preun multipathd.socket
|
||||
:
|
||||
|
||||
%postun
|
||||
%systemd_postun multipathd.socket
|
||||
:
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
@ -75,12 +83,12 @@ fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_sysconfdir}/udev/rules.d/kpartx.rules
|
||||
/sbin/kpartx
|
||||
/sbin/mpathpersist
|
||||
/sbin/multipath
|
||||
/sbin/multipathd
|
||||
/lib/udev/kpartx_id
|
||||
%{_udevrulesdir}/*.rules
|
||||
%{_unitdir}/multipathd.service
|
||||
%{_unitdir}/multipathd.socket
|
||||
%{_mandir}/man3/mpath_persistent_reserve_in.3*
|
||||
@ -95,35 +103,30 @@ fi
|
||||
%defattr(-,root,root)
|
||||
/%{_lib}/libmpathpersist.so.*
|
||||
/%{_lib}/libmultipath.so.*
|
||||
/%{_lib}/libdmmp.so.*
|
||||
/%{_lib}/libmpathcmd.so.*
|
||||
%dir /%{_lib}/multipath
|
||||
/%{_lib}/multipath/libcheckcciss_tur.so
|
||||
/%{_lib}/multipath/libcheckdirectio.so
|
||||
/%{_lib}/multipath/libcheckemc_clariion.so
|
||||
/%{_lib}/multipath/libcheckhp_sw.so
|
||||
/%{_lib}/multipath/libcheckrdac.so
|
||||
/%{_lib}/multipath/libcheckreadsector0.so
|
||||
/%{_lib}/multipath/libchecktur.so
|
||||
/%{_lib}/multipath/libprioalua.so
|
||||
/%{_lib}/multipath/libprioconst.so
|
||||
/%{_lib}/multipath/libpriodatacore.so
|
||||
/%{_lib}/multipath/libprioemc.so
|
||||
/%{_lib}/multipath/libpriohds.so
|
||||
/%{_lib}/multipath/libpriohp_sw.so
|
||||
/%{_lib}/multipath/libprioiet.so
|
||||
/%{_lib}/multipath/libprioontap.so
|
||||
/%{_lib}/multipath/libpriorandom.so
|
||||
/%{_lib}/multipath/libpriordac.so
|
||||
/%{_lib}/multipath/libprioweightedpath.so
|
||||
/%{_lib}/multipath/*.so
|
||||
%doc COPYING
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
/%{_lib}/libdmmp.so
|
||||
/%{_lib}/libmpathcmd.so
|
||||
/%{_lib}/libmultipath.so
|
||||
/%{_lib}/libmpathpersist.so
|
||||
%{_includedir}/mpath_persist.h
|
||||
%doc ChangeLog README TODO
|
||||
|
||||
%{_includedir}/mpath_cmd.h
|
||||
%dir %{_includedir}/libdmmp
|
||||
%{_includedir}/libdmmp/libdmmp.h
|
||||
/%{_lib}/pkgconfig/libdmmp.pc
|
||||
%{_mandir}/man3/dmmp_*.3*
|
||||
%{_mandir}/man3/libdmmp.h.3*
|
||||
|
||||
%changelog
|
||||
* Thu Dec 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.5-1mamba
|
||||
- update to 0.8.5
|
||||
|
||||
* Sun Jul 03 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-2mamba
|
||||
- rebuilt by autoport with build requirements: libsystemd-devel>=230-1mamba
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user