Hello community,
here is the log from the commit of package multipath-tools for openSUSE:Factory checked in at 2019-04-21 09:02:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/multipath-tools (Old)
and /work/SRC/openSUSE:Factory/.multipath-tools.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "multipath-tools"
Sun Apr 21 09:02:08 2019 rev:112 rq:695322 version:0.8.0+17+suse.a28893f
Changes:
--------
--- /work/SRC/openSUSE:Factory/multipath-tools/multipath-tools.changes 2019-04-15 13:59:34.860710456 +0200
+++ /work/SRC/openSUSE:Factory/.multipath-tools.new.5536/multipath-tools.changes 2019-04-21 09:02:11.818466807 +0200
@@ -1,0 +2,7 @@
+Sat Apr 13 19:59:45 UTC 2019 - Jan Engelhardt
+
+- Trim %if..%endif guards that do not affect the build result.
+- Combine %service_* calls to reduce generated code.
+- Make use of %make_install.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ multipath-tools.spec ++++++
--- /var/tmp/diff_new_pack.r5xjXm/_old 2019-04-21 09:02:13.926469311 +0200
+++ /var/tmp/diff_new_pack.r5xjXm/_new 2019-04-21 09:02:13.974469368 +0200
@@ -1,7 +1,7 @@
#
# spec file for package multipath-tools
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -49,12 +49,12 @@
%define _sysdir usr/lib
Name: multipath-tools
-Url: http://christophe.varoqui.free.fr/
Version: 0.8.0+17+suse.a28893f
Release: 0
Summary: Tools to Manage Multipathed Devices with the device-mapper
License: GPL-2.0-only
Group: System/Base
+URL: http://christophe.varoqui.free.fr/
Source: multipath-tools-%{version}.tar.xz
Source1: multipath.conf
# SUSE policy: disable partition deletion by default
@@ -101,17 +101,17 @@
the necessary changes to the multipath maps to ensure continuous
availability of the map devices.
-# Currently it makes no sense to split out libmpathpersist and libmpathcmd
+# Currently, it makes no sense to split out libmpathpersist and libmpathcmd
# separately. libmultipath has no stable API at all, and it depends
# on libmpathcmd (to be fixed). libmpathpersist depends on libmultipath
# and it loads prioritizers (to be fixed) and checkers.
%package -n libmpath0
Summary: Libraries for multipath-tools
-License: GPL-2.0-only AND LGPL-2.1 AND LGPL-2.0-or-later
-Group: System/Libraries
# This is for libmpathcmd, which is useless without multipathd.
# No hard dependency here - we don't want to pull in all dependencies
# of multipath-tools.
+License: GPL-2.0-only AND LGPL-2.1-only AND LGPL-2.0-or-later
+Group: System/Libraries
Recommends: multipath-tools
Conflicts: multipath-tools < 0.8.0
@@ -141,7 +141,6 @@
This package contains the development libraries for multipath-tools
and libmpathpersist.
-%if 0%{?with_libdmmp} == 1
%package -n libdmmp%{libdmmp_version}
Summary: C API for multipath-tools
License: GPL-3.0-or-later
@@ -160,8 +159,6 @@
%description -n libdmmp-devel
This package provides development files and documentation for libdmmp.
-%endif
-
%define makeflags %{!?with_libdmmp:ENABLE_LIBDMMP=0}
%define dirflags LIB=%{_lib} usr_prefix=%{_prefix} SYSTEMDPATH=%{_sysdir}
@@ -174,7 +171,7 @@
make CC="%__cc" OPTFLAGS="%{optflags}" %{dirflags} %{makeflags}
%install
-make DESTDIR=%{buildroot} %{dirflags} %{makeflags} install
+%make_install %{dirflags} %{makeflags}
mkdir -p %{buildroot}%{_defaultlicensedir}
mkdir -p %{buildroot}/usr/sbin
mkdir -p %{buildroot}/usr/%{_lib}
@@ -193,13 +190,11 @@
%pre
[ -f /.buildenv ] && exit 0
-%service_add_pre multipathd.socket
-%service_add_pre multipathd.service
+%service_add_pre multipathd.socket multipathd.service
%post
[ -f /.buildenv ] && exit 0
-%service_add_post multipathd.socket
-%service_add_post multipathd.service
+%service_add_post multipathd.socket multipathd.service
%{?regenerate_initrd_post}
exit 0
@@ -284,11 +279,11 @@
# The kpartx package contains udev rules that may need to be in initrd.
%{?regenerate_initrd_posttrans}
-%if 0%{?with_libdmmp} == 1
-
%post -n libdmmp%{libdmmp_version} -p %{run_ldconfig}
%postun -n libdmmp%{libdmmp_version} -p %{run_ldconfig}
+%if 0%{?with_libdmmp} == 1
+
%files -n libdmmp%{libdmmp_version}
%defattr(-,root,root)
%license LICENSES/GPL-3.0