From a6644cb311e7e8863e7c9e5cec118089612c35b9ba1964dcf11bf514940d65d8 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Wed, 14 Nov 2018 10:00:11 +0000 Subject: [PATCH] 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 --- kscreenlocker.changes | 7 +++++++ kscreenlocker.spec | 5 ----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/kscreenlocker.changes b/kscreenlocker.changes index 84b18ef..30683fb 100644 --- a/kscreenlocker.changes +++ b/kscreenlocker.changes @@ -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 diff --git a/kscreenlocker.spec b/kscreenlocker.spec index 44f1bde..6a29978 100644 --- a/kscreenlocker.spec +++ b/kscreenlocker.spec @@ -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 || :