Hrvoje Senjan 2014-03-15 17:10:07 +00:00 committed by Git OBS Bridge
parent a75abe92d4
commit 8f4eec6ea7
2 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Mar 15 17:13:24 UTC 2014 - hrvoje.senjan@gmail.com
- Comment out start_kdeinit permissions checks/permissions until
review is done (the helper is anyway only started when called from
startkde, but we don't have it ready for packaging yet)
-------------------------------------------------------------------
Tue Mar 4 16:39:47 UTC 2014 - hrvoje.senjan@gmail.com

View File

@ -34,7 +34,7 @@ BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
BuildRequires: pkgconfig(x11)
BuildRequires: libcap-devel
PreReq: permissions
#PreReq: permissions
Summary: Helper library to speed up start of applications on KDE workspaces
License: LGPL-2.1+
Group: System/GUI/KDE
@ -68,18 +68,18 @@ booting UNIX. Development files.
%fdupes -s %{buildroot}
# Under security review -- bnc#862953
echo "setBadness('permissions-file-setuid-bit', 998)" > $RPM_SOURCE_DIR/%name-rpmlintrc
# echo "setBadness('permissions-file-setuid-bit', 998)" > $RPM_SOURCE_DIR/%name-rpmlintrc
%post
/sbin/ldconfig
%set_permissions %{_kf5_libexecdir}/start_kdeinit
#set_permissions %{_kf5_libexecdir}/start_kdeinit
%postun
/sbin/ldconfig
%verifyscript
%verify_permissions -e %{_kf5_libexecdir}/start_kdeinit
#verifyscript
#verify_permissions -e %{_kf5_libexecdir}/start_kdeinit
%files
%defattr(-,root,root)
@ -91,7 +91,8 @@ echo "setBadness('permissions-file-setuid-bit', 998)" > $RPM_SOURCE_DIR/%name-rp
%{_kf5_libdir}/libkdeinit5_klauncher.so
%{_kf5_libexecdir}/klauncher
%{_kf5_bindir}/kshell5
%verify(not mode caps) %attr(4755,root,root) %{_kf5_libexecdir}/start_kdeinit
#verify(not mode caps) %attr(4755,root,root) %{_kf5_libexecdir}/start_kdeinit
%{_kf5_libexecdir}/start_kdeinit
%{_kf5_libexecdir}/start_kdeinit_wrapper
%files devel