diff --git a/plasma5-workspace.changes b/plasma5-workspace.changes index cb583b6..11e8c7b 100644 --- a/plasma5-workspace.changes +++ b/plasma5-workspace.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 23 19:12:41 UTC 2015 - hrvoje.senjan@gmail.com + +- Make sure users have pam_unix module in place so the screenlocker + works when upgrading from openSUSE < 12.3 (boo#931296) + ------------------------------------------------------------------- Wed Oct 21 18:58:15 UTC 2015 - hrvoje.senjan@gmail.com diff --git a/plasma5-workspace.spec b/plasma5-workspace.spec index 290d1b9..95ff959 100644 --- a/plasma5-workspace.spec +++ b/plasma5-workspace.spec @@ -77,6 +77,7 @@ BuildRequires: wayland-devel >= 1.2.1 %else BuildRequires: wayland-devel >= 1.3.0 %endif +BuildRequires: pam-config BuildRequires: xz BuildRequires: pkgconfig(Qt5Concurrent) >= 5.4.0 BuildRequires: pkgconfig(Qt5DBus) >= 5.4.0 @@ -98,6 +99,7 @@ BuildRequires: pkgconfig(xcursor) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(zlib) +Requires(post): pam-config Conflicts: kdebase4-workspace < 5.3.0 # Some files have been moved from kio-extras5 to plasma5-workspace in 5.4. This should prevent a possible file conflict. (boo#944656) Conflicts: kio-extras5 < 15.08.0 @@ -215,7 +217,11 @@ workspace. Development files. # we have a separate package for Plasma5 session rm -rfv %{buildroot}%{_kf5_sharedir}/xsessions -%post -p /sbin/ldconfig +%post +# boo#931296 +/usr/sbin/pam-config -d --unix2 || : +/usr/sbin/pam-config -a --unix || : +/sbin/ldconfig %postun -p /sbin/ldconfig