Hello community,

here is the log from the commit of package libpwquality for openSUSE:Factory 
checked in at 2020-05-26 17:14:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpwquality (Old)
 and      /work/SRC/openSUSE:Factory/.libpwquality.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libpwquality"

Tue May 26 17:14:21 2020 rev:17 rq:807575 version:1.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpwquality/libpwquality.changes        
2020-05-05 18:54:38.449315856 +0200
+++ /work/SRC/openSUSE:Factory/.libpwquality.new.2738/libpwquality.changes      
2020-05-26 17:14:51.255395498 +0200
@@ -1,0 +2,5 @@
+Mon May 18 11:20:41 UTC 2020 - Fabian Vogt <fv...@suse.com>
+
+- Register with pam-config in %post(un)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libpwquality.spec ++++++
--- /var/tmp/diff_new_pack.ab8Sgl/_old  2020-05-26 17:14:54.683402930 +0200
+++ /var/tmp/diff_new_pack.ab8Sgl/_new  2020-05-26 17:14:54.687402938 +0200
@@ -36,7 +36,6 @@
 BuildRequires:  pam-devel
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(python3)
-%lang_package
 %if %{with python2}
 BuildRequires:  pkgconfig(python2)
 %endif
@@ -45,6 +44,8 @@
 libpwquality is a library for password quality checks and generation
 of random passwords that pass the checks.
 
+%lang_package
+
 %package -n %{libname}
 Summary:        Library for password quality checking and generating random 
passwords
 Group:          System/Libraries
@@ -84,6 +85,8 @@
 Summary:        PAM module to disallow weak new passwords
 Group:          System/Libraries
 Requires:       pam
+Requires(post): pam-config
+Requires(postun): pam-config
 
 %description -n pam_pwquality
 The pam_pwquality PAM module can be used instead of pam_cracklib to
@@ -144,6 +147,16 @@
 %post -n %{libname} -p /sbin/ldconfig
 %postun -n %{libname} -p /sbin/ldconfig
 
+%post -n pam_pwquality
+# Due to boo#728586 it is necessary to duplicate this in the 32bit variant.
+# So you need to edit baselibs.conf if you change this.
+%{_sbindir}/pam-config -a --pwquality || :
+
+%postun -n pam_pwquality
+if [ "$1" = "0" ]; then
+  %{_sbindir}/pam-config -d --pwquality || :
+fi
+
 %files -n %{libname}
 %license COPYING
 %doc AUTHORS NEWS README

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.ab8Sgl/_old  2020-05-26 17:14:54.719403007 +0200
+++ /var/tmp/diff_new_pack.ab8Sgl/_new  2020-05-26 17:14:54.719403007 +0200
@@ -1,3 +1,5 @@
 pam_pwquality
+  requires "pam-<targettype>"
   supplements "packageand(pam_pwquality:pam-<targettype>)"
+  post "%{_sbindir}/pam-config -a --pwquality || :"
 libpwquality1


Reply via email to