Accepting request 648875 from home:wolfi323:test

- Remove forced migration to pam_unix in %post (fix for
  boo#931296), pam_unix2 is not available anymore and pam-config
  does that migration automatically

OBS-URL: https://build.opensuse.org/request/show/648875
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kscreenlocker?expand=0&rev=153
This commit is contained in:
Luca Beltrame 2018-11-14 10:00:11 +00:00 committed by Git OBS Bridge
parent 73683ede90
commit a6644cb311
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Nov 13 12:10:39 UTC 2018 - wbauer@tmo.at
- Remove forced migration to pam_unix in %post (fix for
boo#931296), pam_unix2 is not available anymore and pam-config
does that migration automatically
-------------------------------------------------------------------
Tue Nov 6 15:53:20 UTC 2018 - fabian@ritter-vogt.de

View File

@ -33,7 +33,6 @@ Source3: kscreenlocker
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 1.8.0
BuildRequires: kf5-filesystem
BuildRequires: pam-config
BuildRequires: pam-devel
BuildRequires: cmake(KF5Crash) >= 5.15.0
BuildRequires: cmake(KF5Declarative) >= 5.15.0
@ -61,7 +60,6 @@ BuildRequires: pkgconfig(xcb-keysyms)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xi)
Requires: pam-config
Requires(post): pam-config
Requires(post): /usr/bin/killall
Recommends: %{name}-lang
@ -110,9 +108,6 @@ fi
exit 0
%post
# boo#931296
/usr/sbin/pam-config -d --unix2 || :
/usr/sbin/pam-config -a --unix || :
/sbin/ldconfig
if [ $1 = 2 ] && [ -f /run/kscreenlocker_restart ]; then
/usr/bin/killall -TERM kscreenlocker_greet || :