update to 0.8.5 [release 0.8.5-1mamba;Thu Dec 10 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 07:22:56 +01:00
parent 05a7bbb199
commit 14e2936530

View File

@ -1,24 +1,26 @@
Name: multipath-tools Name: multipath-tools
Version: 0.5.0 Version: 0.8.5
Release: 2mamba Release: 1mamba
Summary: Tools for multipath connectivity Summary: Tools for multipath connectivity
Group: System/Tools Group: System/Tools
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://christophe.varoqui.free.fr/ 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 Patch0: multipath-tools-0.5.0-readline-link-with-termcap.patch
Patch1: multipath-tools-0.5.0-systemd-230.patch Patch1: multipath-tools-0.5.0-systemd-230.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libaio-devel BuildRequires: libaio-devel
BuildRequires: libdevmapper-devel BuildRequires: libdevmapper-devel
BuildRequires: libjson-c-devel
BuildRequires: libreadline-devel BuildRequires: libreadline-devel
BuildRequires: libsystemd-devel BuildRequires: libsystemd-devel
BuildRequires: libtermcap-devel
BuildRequires: libudev-devel BuildRequires: libudev-devel
BuildRequires: liburcu-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libsystemd-devel >= 230-1mamba BuildRequires: libsystemd-devel >= 230-1mamba
Requires(post): systemd-core Requires(post): systemd-core
@ -47,8 +49,8 @@ This package contains libraries and header files for developing applications tha
%prep %prep
%setup -q %setup -q
%patch0 -p1 #%patch0 -p1
%patch1 -p1 #%patch1 -p1
%build %build
%make libudevdir=/lib/udev unitdir=%{_unitdir} %make libudevdir=/lib/udev unitdir=%{_unitdir}
@ -65,9 +67,15 @@ ln -s libmpathpersist.so.0 %{buildroot}/%{_lib}/libmpathpersist.so
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post %post
if [ $1 -ge 1 ]; then %systemd_post multipathd.socket
systemctl -q daemon-reload :
fi
%preun
%systemd_preun multipathd.socket
:
%postun
%systemd_postun multipathd.socket
: :
%post -n lib%{name} -p /sbin/ldconfig %post -n lib%{name} -p /sbin/ldconfig
@ -75,12 +83,12 @@ fi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/udev/rules.d/kpartx.rules
/sbin/kpartx /sbin/kpartx
/sbin/mpathpersist /sbin/mpathpersist
/sbin/multipath /sbin/multipath
/sbin/multipathd /sbin/multipathd
/lib/udev/kpartx_id /lib/udev/kpartx_id
%{_udevrulesdir}/*.rules
%{_unitdir}/multipathd.service %{_unitdir}/multipathd.service
%{_unitdir}/multipathd.socket %{_unitdir}/multipathd.socket
%{_mandir}/man3/mpath_persistent_reserve_in.3* %{_mandir}/man3/mpath_persistent_reserve_in.3*
@ -95,35 +103,30 @@ fi
%defattr(-,root,root) %defattr(-,root,root)
/%{_lib}/libmpathpersist.so.* /%{_lib}/libmpathpersist.so.*
/%{_lib}/libmultipath.so.* /%{_lib}/libmultipath.so.*
/%{_lib}/libdmmp.so.*
/%{_lib}/libmpathcmd.so.*
%dir /%{_lib}/multipath %dir /%{_lib}/multipath
/%{_lib}/multipath/libcheckcciss_tur.so /%{_lib}/multipath/*.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
%doc COPYING %doc COPYING
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
/%{_lib}/libdmmp.so
/%{_lib}/libmpathcmd.so
/%{_lib}/libmultipath.so
/%{_lib}/libmpathpersist.so /%{_lib}/libmpathpersist.so
%{_includedir}/mpath_persist.h %{_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 %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 * Sun Jul 03 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-2mamba
- rebuilt by autoport with build requirements: libsystemd-devel>=230-1mamba - rebuilt by autoport with build requirements: libsystemd-devel>=230-1mamba