Accepting request 1038620 from KDE:Frameworks5
- Drop fpie.patch, works as expected without (forwarded request 1038605 from favogt) OBS-URL: https://build.opensuse.org/request/show/1038620 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kdesu?expand=0&rev=109
This commit is contained in:
commit
8d9d7cb381
14
fpie.patch
14
fpie.patch
@ -1,14 +0,0 @@
|
||||
Index: kdesu-5.62.0git.20220827T215947~7188b15/src/kdesud/CMakeLists.txt
|
||||
===================================================================
|
||||
--- kdesu-5.62.0git.20220827T215947~7188b15.orig/src/kdesud/CMakeLists.txt 2022-08-27 21:59:47.000000000 +0200
|
||||
+++ kdesu-5.62.0git.20220827T215947~7188b15/src/kdesud/CMakeLists.txt 2022-08-28 22:14:41.623414812 +0200
|
||||
@@ -30,6 +30,9 @@
|
||||
target_include_directories(kdesud PRIVATE ${X11_X11_INCLUDE_PATH})
|
||||
endif()
|
||||
|
||||
+set_property(TARGET kdesud APPEND_STRING PROPERTY COMPILE_FLAGS " -fPIE")
|
||||
+set_property(TARGET kdesud APPEND_STRING PROPERTY LINK_FLAGS " -pie")
|
||||
+
|
||||
if(BUILD_TESTING)
|
||||
add_subdirectory(autotests)
|
||||
endif()
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 28 09:10:30 UTC 2022 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Drop fpie.patch, works as expected without
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 28 08:53:03 UTC 2022 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Drop setgid bit on kdesud, no longer needed since 5.99.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 8 08:35:03 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
|
15
kdesu.spec
15
kdesu.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package kdesu
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -35,8 +35,6 @@ Source: %{name}-%{version}.tar.xz
|
||||
Source1: %{name}-%{version}.tar.xz.sig
|
||||
Source2: frameworks.keyring
|
||||
%endif
|
||||
# PATCH-FIX-OPENSUSE fpie.patch -- make kdesud compile/link with -(f)pie flags
|
||||
Patch0: fpie.patch
|
||||
# PATCH-FIX-OPENSUSE
|
||||
Patch1: 0001-Unset-QT_QPA_PLATFORM-to-get-xcb.patch
|
||||
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
||||
@ -58,8 +56,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
|
||||
Requires(pre): permissions
|
||||
Requires(pre): group(nogroup)
|
||||
Obsoletes: libKF5Su4
|
||||
|
||||
%description -n %{lname}
|
||||
@ -96,13 +92,8 @@ Development files.
|
||||
|
||||
%find_lang kdesud5
|
||||
|
||||
%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}-lang -f kdesud5.lang
|
||||
|
||||
@ -112,7 +103,7 @@ Development files.
|
||||
%{_kf5_libdir}/libKF5Su.so.*
|
||||
%{_kf5_libexecdir}/kdesu_stub
|
||||
%{_kf5_debugdir}/ksu.categories
|
||||
%verify(not mode) %attr(2755,root,nogroup) %{_kf5_libexecdir}/kdesud
|
||||
%{_kf5_libexecdir}/kdesud
|
||||
|
||||
%files devel
|
||||
%{_kf5_libdir}/libKF5Su.so
|
||||
|
Loading…
Reference in New Issue
Block a user