Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2022-03-11 21:54:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and      /work/SRC/openSUSE:Factory/.s390-tools.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "s390-tools"

Fri Mar 11 21:54:16 2022 rev:44 rq:961137 version:2.19.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes    2022-02-23 
16:26:45.347509487 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new.25692/s390-tools.changes 
2022-03-11 21:54:17.494670411 +0100
@@ -1,0 +2,5 @@
+Fri Mar  4 13:55:43 UTC 2022 - Martin Wilck <mwi...@suse.com>
+
+- install modprobe.conf files into %_modprobedir (bsc#1196275, jsc#SLE-20639) 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ s390-tools.spec ++++++
--- /var/tmp/diff_new_pack.NboWAL/_old  2022-03-11 21:54:18.442671138 +0100
+++ /var/tmp/diff_new_pack.NboWAL/_new  2022-03-11 21:54:18.446671141 +0100
@@ -21,6 +21,11 @@
 %if ! %{defined _fillupdir}
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
+%if 0%{?suse_version} < 1550 && 0%{?sle_version} <= 150300
+# systemd-rpm-macros is wrong in 15.3 and below
+%define _modprobedir /lib/modprobe.d
+%endif
+%global modprobe_d_files 90-s390-tools.conf
 
 Name:           s390-tools
 Version:        2.19.0
@@ -349,7 +354,7 @@
 install -D -m644 %{SOURCE21} 
%{buildroot}%{_prefix}/lib/udev/rules.d/59-graf.rules
 install -D -m644 %{SOURCE28} 
%{buildroot}%{_prefix}/lib/udev/rules.d/59-prng.rules
 install -D -m644 %{SOURCE29} 
%{buildroot}%{_prefix}/lib/udev/rules.d/59-zfcp-compat.rules
-install -D -m644 %{SOURCE30} 
%{buildroot}%{_sysconfdir}/modprobe.d/90-s390-tools.conf
+install -D -m644 %{SOURCE30} %{buildroot}%{_modprobedir}/90-s390-tools.conf
 install -D -m755 %{SOURCE32} %{buildroot}/sbin/killcdl
 install -D -m755 %{SOURCE33} %{buildroot}/sbin/lgr_check
 install -D -m644 %{SOURCE34} %{buildroot}%{_fillupdir}/sysconfig.virtsetup
@@ -437,6 +442,11 @@
 %service_add_pre virtsetup.service
 %service_add_pre vmlogrdr.service
 %service_add_pre xpram.service
+# Avoid restoring outdated stuff in posttrans
+for _f in %{?modprobe_d_files}; do
+    [ ! -f "/etc/modprobe.d/${_f}.rpmsave" ] || \
+        mv -f "/etc/modprobe.d/${_f}.rpmsave" 
"/etc/modprobe.d/${_f}.rpmsave.old" || :
+done
 
 %post
 read INITPGM < /proc/1/comm
@@ -548,6 +558,11 @@
 %{?regenerate_initrd_post}
 
 %posttrans
+# Migration of modprobe.conf files to _modprobedir
+for _f in %{?modprobe_d_files}; do
+    [ ! -f "/etc/modprobe.d/${_f}.rpmsave" ] || \
+        mv -fv "/etc/modprobe.d/${_f}.rpmsave" "/etc/modprobe.d/${_f}" || :
+done
 %{?regenerate_initrd_posttrans}
 
 %preun -n osasnmpd
@@ -571,7 +586,8 @@
 %dir %attr(0770,root,zkeyadm) %{_sysconfdir}/zkey/kmip/profiles
 %dir %attr(0770,root,zkeyadm) %{_sysconfdir}/zkey/repository
 %config %{_sysconfdir}/zkey/kmip/profiles/*
-%config %{_sysconfdir}/modprobe.d/90-s390-tools.conf
+%dir %{_modprobedir}
+%{_modprobedir}/90-s390-tools.conf
 %config %{_sysconfdir}/cpuplugd.conf
 %config %{_sysconfdir}/zkey/kms-plugins.conf
 %config(noreplace) /boot/zipl/active_devices.txt

Reply via email to