Accepting request 503949 from KDE:Frameworks5

- Fix the kscreenlocker_greet restart in %post, this time for real. I mean it! (Hopefully.)

OBS-URL: https://build.opensuse.org/request/show/503949
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kscreenlocker?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2017-06-16 08:52:10 +00:00 committed by Git OBS Bridge
commit a5d2f8a4a7
4 changed files with 22 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1eac0781b79c163df83b366d9541d2e783062ed89c904377e8f5fdbe9b085859
size 110604

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6545f32e4ba80000bedfa676a05fccd8d636e8a77c128ccbc309149c149b3b1d
size 110608

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Jun 14 20:09:38 UTC 2017 - fabian@ritter-vogt.de
- Fix the kscreenlocker_greet restart in %post
-------------------------------------------------------------------
Tue Jun 13 21:35:01 CEST 2017 - fabian@ritter-vogt.de
- Update to 5.10.2
* New bugfix release
* For more details please see:
* https://www.kde.org/announcements/plasma-5.10.2.php
- Changes since 5.10.1:
* None
-------------------------------------------------------------------
Tue Jun 6 17:19:55 CEST 2017 - fabian@ritter-vogt.de

View File

@ -18,7 +18,7 @@
%bcond_without lang
Name: kscreenlocker
Version: 5.10.1
Version: 5.10.2
Release: 0
Summary: Library and components for secure lock screen architecture
License: GPL-2.0+
@ -58,6 +58,7 @@ BuildRequires: pkgconfig(xcb-keysyms)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xi)
Requires(post): pam-config
Requires(post): /usr/bin/killall
%if %{with lang}
Recommends: %{name}-lang
%else
@ -116,8 +117,8 @@ exit 0
/usr/sbin/pam-config -d --unix2 || :
/usr/sbin/pam-config -a --unix || :
/sbin/ldconfig
if [ $1 = 1 ] && [ -f /run/kscreenlocker_restart ]; then
killall -TERM kscreenlocker_greet
if [ $1 = 2 ] && [ -f /run/kscreenlocker_restart ]; then
/usr/bin/killall -TERM kscreenlocker_greet || :
rm /run/kscreenlocker_restart
fi
exit 0