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