diff --git a/libpsm2.changes b/libpsm2.changes index f3c48b2..121d35d 100644 --- a/libpsm2.changes +++ b/libpsm2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 11 20:24:48 UTC 2022 - Martin Wilck + +- Run modprobe.conf handling scriptlets in -compat subpackage (bsc#1198322) + ------------------------------------------------------------------- Fri Mar 4 12:41:50 UTC 2022 - Martin Wilck diff --git a/libpsm2.spec b/libpsm2.spec index f8e964d..47b9e71 100644 --- a/libpsm2.spec +++ b/libpsm2.spec @@ -108,7 +108,7 @@ rm %{buildroot}/usr/lib/%name/libpsm2-compat.cmds # remove static library rm %{buildroot}%{_libdir}/libpsm2.a -%pre +%pre compat # Avoid restoring outdated stuff in posttrans for _f in %{?modprobe_d_files}; do [ ! -f "/etc/modprobe.d/${_f}.rpmsave" ] || \ @@ -120,7 +120,7 @@ done %post compat -p /sbin/ldconfig %postun compat -p /sbin/ldconfig -%posttrans +%posttrans compat # Migration of modprobe.conf files to _modprobedir for _f in %{?modprobe_d_files}; do [ ! -f "/etc/modprobe.d/${_f}.rpmsave" ] || \