From b4202a713b53544a57e1d2a7172600f1f47df63ab10a223da7cd12d93d03df90 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 4 May 2014 01:35:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kdesu?expand=0&rev=19 --- kdesu-4.98.0.tar.xz | 3 --- kdesu.spec | 16 ++++------------ 2 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 kdesu-4.98.0.tar.xz diff --git a/kdesu-4.98.0.tar.xz b/kdesu-4.98.0.tar.xz deleted file mode 100644 index 7ee8958..0000000 --- a/kdesu-4.98.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ae00caacd060ae0cf2c71b8b9229869ec2429f92daa669e8bd502042337be5ff -size 36316 diff --git a/kdesu.spec b/kdesu.spec index e1d6c59..ca177b4 100644 --- a/kdesu.spec +++ b/kdesu.spec @@ -18,10 +18,10 @@ %define lname libKF5Su5 Name: kdesu -Version: 4.98.0 +Version: 4.99.0 Release: 0 BuildRequires: cmake >= 2.8.12 -BuildRequires: extra-cmake-modules >= 0.0.12 +BuildRequires: extra-cmake-modules >= 0.0.13 BuildRequires: fdupes BuildRequires: kcoreaddons-devel >= %{_kf5_version} BuildRequires: kf5-filesystem @@ -44,7 +44,6 @@ 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,29 +69,22 @@ Development files. %setup -q %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" + %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build %fdupes -s %{buildroot} -%post -n %lname -/sbin/ldconfig -%set_permissions %{_kf5_libexecdir}/kdesud +%post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig -%verifyscript -n %lname -%verify_permissions -e %{_kf5_libexecdir}/kdesud - %files -n %lname %defattr(-,root,root) %doc COPYING* README* %{_kf5_libdir}/libKF5Su.so.* %{_kf5_libexecdir}/kdesu_stub -# under review -#verify(not mode) %attr(2755,root,nogroup) %{_kf5_libexecdir}/kdesud %{_kf5_libexecdir}/kdesud %files devel