From bc55abdb5c4b5c0423baed9d448d27dd0a508026541ef714dc287b245b35abcd Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 6 Apr 2014 21:36:56 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kdesu?expand=0&rev=17 --- kdesu.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kdesu.spec b/kdesu.spec index 80cf904..8df64e2 100644 --- a/kdesu.spec +++ b/kdesu.spec @@ -29,7 +29,6 @@ BuildRequires: kpty-devel >= %{_kf5_version} BuildRequires: kservice-devel >= %{_kf5_version} BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(x11) -PreReq: permissions Summary: User interface for running shell commands with root privileges License: LGPL-2.1+ Group: System/GUI/KDE @@ -45,6 +44,7 @@ kdessh use it to interface with su and ssh respectively. %package -n %lname Summary: User interface for running shell commands with root privileges Group: System/GUI/KDE +PreReq: permissions Obsoletes: libKF5Su4 %description -n %lname @@ -70,7 +70,7 @@ Development files. %setup -q %build - %cmake_kf5 -d build + %cmake_kf5 -d build -- -DCMAKE_CXX_FLAGS="%{optflags} -fPIE" -DCMAKE_C_FLAGS="%{optflags} -fPIE" -DCMAKE_SHARED_LINKER_FLAGS="-pie" -DCMAKE_EXE_LINKER_FLAGS="-pie" -DCMAKE_MODULE_LINKER_FLAGS="-pie" %make_jobs %install @@ -83,7 +83,7 @@ Development files. %postun -n %lname -p /sbin/ldconfig -%verifyscript +%verifyscript -n %lname %verify_permissions -e %{_kf5_libexecdir}/kdesud %files -n %lname