diff --git a/device-mapper-multipath.spec b/device-mapper-multipath.spec index fb562a5..175d3cd 100644 --- a/device-mapper-multipath.spec +++ b/device-mapper-multipath.spec @@ -126,6 +126,7 @@ Requires: udev initscripts Requires(post): systemd-units systemd-sysv chkconfig Requires(preun): systemd-units Requires(postun): systemd-units +Conflicts: filesystem < 3 # build/setup BuildRequires: libaio-devel, device-mapper-devel >= 1.02.39-1 @@ -146,6 +147,7 @@ The tools are : Summary: The %{name} modules and shared library License: GPL+ Group: System Environment/Libraries +Conflicts: filesystem < 3 %description libs The %{name}-libs provides the path checker @@ -279,8 +281,6 @@ kpartx manages partition creation and removal for device-mapper devices. cp %{SOURCE1} . %build -%define _sbindir /sbin -%define _libdir /%{_lib} %define _libmpathdir %{_libdir}/multipath make %{?_smp_mflags} LIB=%{_lib} @@ -361,7 +361,7 @@ bin/systemctl --no-reload enable multipathd.service >/dev/null 2>&1 ||: %files -n kpartx %defattr(-,root,root,-) -/sbin/kpartx +%{_sbindir}/kpartx %{_mandir}/man8/kpartx.8.gz %changelog