From 543b6564b9241efaf3ac850df44e5e0574c7ead4 Mon Sep 17 00:00:00 2001 From: Benjamin Marzinski Date: Wed, 21 Apr 2021 19:21:39 -0500 Subject: [PATCH] device-mapper-multipath-0.8.6-2 Update spec file Related: bz #1951336 --- device-mapper-multipath.spec | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/device-mapper-multipath.spec b/device-mapper-multipath.spec index e6d6504..189d147 100644 --- a/device-mapper-multipath.spec +++ b/device-mapper-multipath.spec @@ -1,6 +1,6 @@ Name: device-mapper-multipath Version: 0.8.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tools to manage multipath devices using device-mapper License: GPLv2 URL: http://christophe.varoqui.free.fr/ @@ -109,6 +109,7 @@ cp %{SOURCE1} . %build %define _sbindir /usr/sbin %define _libdir /usr/%{_lib} +%define _udevdir /usr/lib/udev %define _libmpathdir %{_libdir}/multipath %define _pkgconfdir %{_libdir}/pkgconfig %make_build LIB=%{_lib} @@ -159,8 +160,8 @@ fi %{_mandir}/man8/multipathd.8.gz %{_mandir}/man8/mpathconf.8.gz %{_mandir}/man8/mpathpersist.8.gz -%config /usr/lib/udev/rules.d/62-multipath.rules -%config /usr/lib/udev/rules.d/11-dm-mpath.rules +%config %{_udevrulesdir}/62-multipath.rules +%config %{_udevrulesdir}/11-dm-mpath.rules %doc README.md %doc README.alua %doc multipath.conf @@ -194,11 +195,11 @@ fi %license LICENSES/GPL-2.0 %doc README.md %{_sbindir}/kpartx -/usr/lib/udev/kpartx_id +%{_udevdir}/kpartx_id %{_mandir}/man8/kpartx.8.gz -%config /usr/lib/udev/rules.d/11-dm-parts.rules -%config /usr/lib/udev/rules.d/66-kpartx.rules -%config /usr/lib/udev/rules.d/68-del-part-nodes.rules +%config %{_udevrulesdir}/11-dm-parts.rules +%config %{_udevrulesdir}/66-kpartx.rules +%config %{_udevrulesdir}/68-del-part-nodes.rules %files -n libdmmp %license LICENSES/GPL-3.0 @@ -217,6 +218,11 @@ fi %{_pkgconfdir}/libdmmp.pc %changelog +* Wed Apr 21 2021 Benjamin Marzinski - 0.8.6-2 +- Update spec file +- Related: bz #1951336 + + * Mon Apr 19 2021 Benjamin Marzinski - 0.8.6-1 - Update Source to upstream version 0.8.6 * Previous patches 0001-0123 are included in the commit