Spec cleanups, drop remains of initscripts dependencies
This commit is contained in:
parent
64b1cb0e21
commit
00124a54fb
@ -1,9 +1,8 @@
|
|||||||
Summary: Tools to manage multipath devices using device-mapper
|
|
||||||
Name: device-mapper-multipath
|
Name: device-mapper-multipath
|
||||||
Version: 0.7.7
|
Version: 0.7.7
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
Summary: Tools to manage multipath devices using device-mapper
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Base
|
|
||||||
URL: http://christophe.varoqui.free.fr/
|
URL: http://christophe.varoqui.free.fr/
|
||||||
|
|
||||||
# The source for this package was pulled from upstream's git repo. Use the
|
# The source for this package was pulled from upstream's git repo. Use the
|
||||||
@ -44,8 +43,8 @@ Patch0028: 0028-RH-reset-default-find_mutipaths-value-to-off.patch
|
|||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
Requires: kpartx = %{version}-%{release}
|
Requires: kpartx = %{version}-%{release}
|
||||||
Requires: device-mapper >= 1.02.96
|
Requires: device-mapper >= 1.02.96
|
||||||
Requires: initscripts, userspace-rcu
|
Requires: userspace-rcu
|
||||||
Requires(post): systemd-units systemd-sysv chkconfig
|
Requires(post): systemd-units
|
||||||
Requires(preun): systemd-units
|
Requires(preun): systemd-units
|
||||||
Requires(postun): systemd-units
|
Requires(postun): systemd-units
|
||||||
|
|
||||||
@ -66,7 +65,6 @@ The tools are :
|
|||||||
|
|
||||||
%package libs
|
%package libs
|
||||||
Summary: The %{name} modules and shared library
|
Summary: The %{name} modules and shared library
|
||||||
Group: System Environment/Libraries
|
|
||||||
# only libmpathcmd is LGPLv2+
|
# only libmpathcmd is LGPLv2+
|
||||||
License: GPLv2 and LGPLv2+
|
License: GPLv2 and LGPLv2+
|
||||||
|
|
||||||
@ -78,7 +76,6 @@ libmultipath.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development libraries and headers for %{name}
|
Summary: Development libraries and headers for %{name}
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
@ -88,14 +85,12 @@ device-mapper-multipath's lbmpathpersist and libmpathcmd libraries.
|
|||||||
|
|
||||||
%package -n kpartx
|
%package -n kpartx
|
||||||
Summary: Partition device manager for device-mapper devices
|
Summary: Partition device manager for device-mapper devices
|
||||||
Group: System Environment/Base
|
|
||||||
|
|
||||||
%description -n kpartx
|
%description -n kpartx
|
||||||
kpartx manages partition creation and removal for device-mapper devices.
|
kpartx manages partition creation and removal for device-mapper devices.
|
||||||
|
|
||||||
%package -n libdmmp
|
%package -n libdmmp
|
||||||
Summary: device-mapper-multipath C API library
|
Summary: device-mapper-multipath C API library
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Requires: json-c
|
Requires: json-c
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -107,7 +102,6 @@ C API library.
|
|||||||
|
|
||||||
%package -n libdmmp-devel
|
%package -n libdmmp-devel
|
||||||
Summary: device-mapper-multipath C API library headers
|
Summary: device-mapper-multipath C API library headers
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Requires: libdmmp = %{version}-%{release}
|
Requires: libdmmp = %{version}-%{release}
|
||||||
|
|
||||||
@ -189,7 +183,7 @@ fi
|
|||||||
/bin/systemctl --quiet is-enabled multipathd.service >/dev/null 2>&1 && /bin/systemctl reenable multipathd.service ||:
|
/bin/systemctl --quiet is-enabled multipathd.service >/dev/null 2>&1 && /bin/systemctl reenable multipathd.service ||:
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%license LICENSES/GPL-2.0 LICENSES/LGPL-2.0
|
||||||
%{_sbindir}/multipath
|
%{_sbindir}/multipath
|
||||||
%{_sbindir}/multipathd
|
%{_sbindir}/multipathd
|
||||||
%{_sbindir}/mpathconf
|
%{_sbindir}/mpathconf
|
||||||
@ -203,18 +197,14 @@ fi
|
|||||||
%{_mandir}/man8/mpathpersist.8.gz
|
%{_mandir}/man8/mpathpersist.8.gz
|
||||||
%config /usr/lib/udev/rules.d/62-multipath.rules
|
%config /usr/lib/udev/rules.d/62-multipath.rules
|
||||||
%config /usr/lib/udev/rules.d/11-dm-mpath.rules
|
%config /usr/lib/udev/rules.d/11-dm-mpath.rules
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license LICENSES/GPL-2.0 LICENSES/LGPL-2.0
|
|
||||||
%doc README
|
%doc README
|
||||||
%doc README.alua
|
%doc README.alua
|
||||||
%doc multipath.conf
|
%doc multipath.conf
|
||||||
%dir /etc/multipath
|
%dir /etc/multipath
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README
|
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license LICENSES/GPL-2.0 LICENSES/LGPL-2.0
|
%license LICENSES/GPL-2.0 LICENSES/LGPL-2.0
|
||||||
|
%doc README
|
||||||
%{_libdir}/libmultipath.so
|
%{_libdir}/libmultipath.so
|
||||||
%{_libdir}/libmultipath.so.*
|
%{_libdir}/libmultipath.so.*
|
||||||
%{_libdir}/libmpathpersist.so.*
|
%{_libdir}/libmpathpersist.so.*
|
||||||
@ -227,8 +217,7 @@ fi
|
|||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%doc README
|
||||||
%doc README LICENSES/GPL-2.0 LICENSES/LGPL-2.0
|
|
||||||
%{_libdir}/libmpathpersist.so
|
%{_libdir}/libmpathpersist.so
|
||||||
%{_libdir}/libmpathcmd.so
|
%{_libdir}/libmpathcmd.so
|
||||||
%{_includedir}/mpath_cmd.h
|
%{_includedir}/mpath_cmd.h
|
||||||
@ -237,10 +226,8 @@ fi
|
|||||||
%{_mandir}/man3/mpath_persistent_reserve_out.3.gz
|
%{_mandir}/man3/mpath_persistent_reserve_out.3.gz
|
||||||
|
|
||||||
%files -n kpartx
|
%files -n kpartx
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README
|
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license LICENSES/GPL-2.0
|
%license LICENSES/GPL-2.0
|
||||||
|
%doc README
|
||||||
%{_sbindir}/kpartx
|
%{_sbindir}/kpartx
|
||||||
/usr/lib/udev/kpartx_id
|
/usr/lib/udev/kpartx_id
|
||||||
%{_mandir}/man8/kpartx.8.gz
|
%{_mandir}/man8/kpartx.8.gz
|
||||||
@ -249,8 +236,8 @@ fi
|
|||||||
%config /usr/lib/udev/rules.d/68-del-part-nodes.rules
|
%config /usr/lib/udev/rules.d/68-del-part-nodes.rules
|
||||||
|
|
||||||
%files -n libdmmp
|
%files -n libdmmp
|
||||||
%defattr(-,root,root,-)
|
%license LICENSES/GPL-3.0
|
||||||
%doc README LICENSES/GPL-3.0
|
%doc README
|
||||||
%{_libdir}/libdmmp.so.*
|
%{_libdir}/libdmmp.so.*
|
||||||
|
|
||||||
%post -n libdmmp -p /sbin/ldconfig
|
%post -n libdmmp -p /sbin/ldconfig
|
||||||
@ -258,8 +245,7 @@ fi
|
|||||||
%postun -n libdmmp -p /sbin/ldconfig
|
%postun -n libdmmp -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libdmmp-devel
|
%files -n libdmmp-devel
|
||||||
%defattr(-,root,root,-)
|
%doc README
|
||||||
%doc README LICENSES/GPL-3.0
|
|
||||||
%{_libdir}/libdmmp.so
|
%{_libdir}/libdmmp.so
|
||||||
%dir %{_includedir}/libdmmp
|
%dir %{_includedir}/libdmmp
|
||||||
%{_includedir}/libdmmp/*
|
%{_includedir}/libdmmp/*
|
||||||
@ -268,6 +254,9 @@ fi
|
|||||||
%{_pkgconfdir}/libdmmp.pc
|
%{_pkgconfdir}/libdmmp.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jun 30 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.7.7-2
|
||||||
|
- Spec cleanups, drop remains of initscripts dependencies
|
||||||
|
|
||||||
* Tue Jun 12 2018 Benjamin Marzinski <bmarzins@redhat.com> 0.7.7-1
|
* Tue Jun 12 2018 Benjamin Marzinski <bmarzins@redhat.com> 0.7.7-1
|
||||||
- Update Source to 0.7.7
|
- Update Source to 0.7.7
|
||||||
* Previous patches 0001-0009 & 0018 are included in this commit
|
* Previous patches 0001-0009 & 0018 are included in this commit
|
||||||
|
Loading…
Reference in New Issue
Block a user