Accepting request 446248 from KDE:Frameworks5

5.29.0

OBS-URL: https://build.opensuse.org/request/show/446248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kdesu?expand=0&rev=35
This commit is contained in:
2016-12-17 10:07:23 +00:00
committed by Git OBS Bridge
5 changed files with 14 additions and 21 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:976f0054ed5fb4a51e0462cc0dde0249d6f1c15ad1e76047889a048dede2cab8
size 44520

3
kdesu-5.29.0.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:854cce99c3cac9ca28fd3f7c74b39b7af9d88f63b82c021398819888b4767dd2
size 44624

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Dec 4 01:58:05 UTC 2016 - hrvoje.senjan@gmail.com
- Update to 5.29.0
* Unsets XDG_RUNTIME_DIR in processes run with kdesu
* For more details please see:
https://www.kde.org/announcements/kde-frameworks-5.29.0.php
- Drop upstreamed unset-xdg-runtime-dir.diff
-------------------------------------------------------------------
Thu Nov 10 12:55:50 UTC 2016 - alarrosa@suse.com

View File

@@ -18,9 +18,9 @@
%bcond_without lang
%define lname libKF5Su5
%define _tar_path 5.28
%define _tar_path 5.29
Name: kdesu
Version: 5.28.0
Version: 5.29.0
Release: 0
%define kf5_version %{version}
BuildRequires: cmake >= 2.8.12
@@ -41,8 +41,6 @@ Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%
Source1: baselibs.conf
# PATCH-FIX-OPENSUSE fpie.patch -- make kdesud compile/link with -(f)pie flags
Patch0: fpie.patch
# PATCH-FIX-UPSTREAM unset-xdg-runtime-dir.diff alarrosa@suse.com -- unset XDG_RUNTIME_DIR so applications run under kdesu don't try to use an inaccesible runtime dir
Patch1: unset-xdg-runtime-dir.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -82,7 +80,6 @@ Development files.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%cmake_kf5 -d build

View File

@@ -1,13 +0,0 @@
Index: kdesu-5.26.0/src/kdesu_stub.c
===================================================================
--- kdesu-5.26.0.orig/src/kdesu_stub.c
+++ kdesu-5.26.0/src/kdesu_stub.c
@@ -258,6 +258,8 @@ int main()
unsetenv("LC_ALL");
}
+ unsetenv("XDG_RUNTIME_DIR");
+
/* Do we need to change uid? */
pw = getpwnam(params[P_USER].value);