This commit is contained in:
parent
dae4a799c0
commit
b4202a713b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ae00caacd060ae0cf2c71b8b9229869ec2429f92daa669e8bd502042337be5ff
|
||||
size 36316
|
16
kdesu.spec
16
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
|
||||
|
Loading…
Reference in New Issue
Block a user