Hello community,

here is the log from the commit of package kdesu.3666 for openSUSE:13.2:Update 
checked in at 2015-04-14 11:38:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.2:Update/kdesu.3666 (Old)
 and      /work/SRC/openSUSE:13.2:Update/.kdesu.3666.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdesu.3666"

Changes:
--------
New Changes file:

--- /dev/null   2015-03-12 01:14:30.992027505 +0100
+++ /work/SRC/openSUSE:13.2:Update/.kdesu.3666.new/kdesu.changes        
2015-04-14 11:38:59.000000000 +0200
@@ -0,0 +1,126 @@
+-------------------------------------------------------------------
+Mon Mar 16 11:50:36 UTC 2015 - [email protected]
+
+- Add explicit ki18n-devel BuildRequires
+
+-------------------------------------------------------------------
+Sat Mar  7 16:58:36 UTC 2015 - [email protected]
+
+- Update to 5.8.0
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.8.0.php
+
+-------------------------------------------------------------------
+Sun Feb  8 18:15:05 UTC 2015 - [email protected]
+
+- Update to 5.7.0
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.7.0.php
+
+-------------------------------------------------------------------
+Sat Jan  3 18:03:09 UTC 2015 - [email protected]
+
+- Update to 5.6.0
+  * Fix build on OSX and on FreeBSD
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.6.0.php
+
+-------------------------------------------------------------------
+Sat Dec  6 12:53:31 UTC 2014 - [email protected]
+
+- Update to 5.5.0
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.5.0.php
+
+-------------------------------------------------------------------
+Sun Nov  2 17:46:42 UTC 2014 - [email protected]
+
+- Update to 5.4.0
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.4.0.php
+
+-------------------------------------------------------------------
+Sat Oct  4 17:59:12 UTC 2014 - [email protected]
+
+- Update to 5.3.0
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.3.0.php
+- Let main package Recommend lang package
+
+-------------------------------------------------------------------
+Tue Sep  9 09:49:15 UTC 2014 - [email protected]
+
+- Update to 5.2.0
+  * For more details please see:
+    http://kde.org/announcements/kde-frameworks-5.2.php
+
+-------------------------------------------------------------------
+Sat Aug  2 10:19:59 UTC 2014 - [email protected]
+
+- Update to 5.1.0
+  * For more details please see:
+    http://www.kde.org/announcements/kde-frameworks-5.1.php
+
+-------------------------------------------------------------------
+Sat Jul 26 10:00:31 UTC 2014 - [email protected]
+
+- Add fpie.patch, to make kdesud link with -fPIE flag
+- Add %verifyscript and adjust permission for kdesud libexec, now
+  that permissions are whitelisted
+
+-------------------------------------------------------------------
+Fri Jul 11 09:48:41 UTC 2014 - [email protected]
+
+- Define kf5_version within package
+
+-------------------------------------------------------------------
+Tue Jul  1 21:35:34 UTC 2014 - [email protected]
+
+- Update to 5.0.0
+  * Final release of KDE Frameworks 5
+  * API improvements and cleanups
+  * Buildsystem fixes
+  * For more details please see:
+    http://www.kde.org/announcements/kde-frameworks-5.0.php
+
+-------------------------------------------------------------------
+Sun Jun  1 18:02:08 UTC 2014 - [email protected]
+
+- Update to 4.100.0
+  * API improvements and cleanups
+  * Buildsystem fixes
+  * For more details please see:
+    http://www.kde.org/announcements/announce-frameworks5-beta3.php
+- Add baselibs.conf
+
+-------------------------------------------------------------------
+Sun May  4 01:41:07 UTC 2014 - [email protected]
+
+- Update to 4.99.0
+  * API improvements and cleanups
+  * Buildsystem fixes
+  * For more details please see:
+    http://www.kde.org/announcements/announce-frameworks5-beta2.php
+
+-------------------------------------------------------------------
+Sat Mar 29 19:47:30 UTC 2014 - [email protected]
+
+- Update to 4.98.0
+  * API improvements and cleanups
+  * Buildsystem fixes
+  * For more details please see:
+    http://www.kde.org/announcements/announce-frameworks5-beta1.php
+
+-------------------------------------------------------------------
+Tue Mar  4 16:37:48 UTC 2014 - [email protected]
+
+- Update to 4.97.0:
+  * Buildsystem fixes
+  * For more details please see:
+    http://www.kde.org/announcements/announce-frameworks5-alpha2.php
+
+-------------------------------------------------------------------
+Sat Feb  8 02:18:02 UTC 2014 - [email protected]
+
+- Init kdesu package
+

New:
----
  baselibs.conf
  fpie.patch
  kdesu-5.8.0.tar.xz
  kdesu.changes
  kdesu.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kdesu.spec ++++++
#
# spec file for package kdesu
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define lname   libKF5Su5
%define _tar_path 5.8
Name:           kdesu
Version:        %{_tar_path}.0
Release:        0
%define kf5_version %{version}
BuildRequires:  cmake >= 2.8.12
BuildRequires:  extra-cmake-modules >= 1.8.0
BuildRequires:  fdupes
BuildRequires:  kcoreaddons-devel >= %{kf5_version}
BuildRequires:  kf5-filesystem
BuildRequires:  ki18n-devel >= %{kf5_version}
BuildRequires:  kpty-devel >= %{kf5_version}
BuildRequires:  kservice-devel >= %{kf5_version}
BuildRequires:  pkgconfig(Qt5Core) >= 5.2.0
BuildRequires:  pkgconfig(x11)
Summary:        User interface for running shell commands with root privileges
License:        LGPL-2.1+
Group:          System/GUI/KDE
Url:            http://www.kde.org
Source:         
http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
Source1:        baselibs.conf
# PATCH-FIX-OPENSUSE fpie.patch -- make kdesud compile/link with -(f)pie flags
Patch0:         fpie.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
libkdesu provides functionality for building GUI front ends for
(password asking) console mode programs. For example, kdesu and
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
Recommends:     %lname-lang = %{version}

%description -n %lname
libkdesu provides functionality for building GUI front ends for
(password asking) console mode programs. For example, kdesu and
kdessh use it to interface with su and ssh respectively.

%package devel
Summary:        User interface for running shell commands with root privileges
Group:          Development/Libraries/KDE
Requires:       %lname = %{version}
Requires:       extra-cmake-modules
Requires:       kpty-devel >= %{kf5_version}
Requires:       kservice-devel >= %{kf5_version}

%description devel
libkdesu provides functionality for building GUI front ends for
(password asking) console mode programs. For example, kdesu and
kdessh use it to interface with su and ssh respectively.
Development files.

%lang_package -n %lname
%prep
%setup -q
%patch0 -p1

%build
  %cmake_kf5 -d build
  %make_jobs

%install
  %kf5_makeinstall -C build
  %fdupes -s %{buildroot}

%if 0%{?suse_version} <= 1310
# we need this for older oS releases; only Factory/13.2 has the whitelist
echo "setBadness('permissions-file-setuid-bit', 0)" > 
$RPM_SOURCE_DIR/%name-rpmlintrc
%endif

  %find_lang kdesud5 %{name}.lang

%post -n %lname
/sbin/ldconfig
%set_permissions %{_kf5_libexecdir}/kdesud

%postun -n %lname -p /sbin/ldconfig

%verifyscript -n %lname
%verify_permissions -e %{_kf5_libexecdir}/kdesud

%files -n %lname-lang -f %{name}.lang

%files -n %lname
%defattr(-,root,root)
%doc COPYING* README*
%{_kf5_libdir}/libKF5Su.so.*
%{_kf5_libexecdir}/kdesu_stub
%verify(not mode) %attr(2755,root,nogroup) %{_kf5_libexecdir}/kdesud

%files devel
%defattr(-,root,root)
%{_kf5_libdir}/libKF5Su.so
%{_kf5_libdir}/cmake/KF5Su/
%{_kf5_includedir}/*.h
%dir %{_kf5_includedir}/*/
%{_kf5_includedir}/*/
%{_kf5_mkspecsdir}/qt_KDESu.pri

%changelog
++++++ baselibs.conf ++++++
libKF5Su5
kdesu-devel
        requires "libKF5Su5-<targettype> = <version>"
++++++ fpie.patch ++++++
diff --git a/src/kdesud/CMakeLists.txt b/src/kdesud/CMakeLists.txt
index 90bd3f7..1118755 100644
--- a/src/kdesud/CMakeLists.txt
+++ b/src/kdesud/CMakeLists.txt
@@ -20,10 +20,9 @@ if(HAVE_X11)
   target_include_directories(kdesud PRIVATE ${X11_X11_INCLUDE_PATH})
 endif()
 
-if(KDE4_ENABLE_FPIE)
-    macro_add_compile_flags(kdesud ${KDE4_CXX_FPIE_FLAGS})
-    macro_add_link_flags(kdesud ${KDE4_PIE_LDFLAGS})
-endif()
+set_property(TARGET kdesud APPEND_STRING PROPERTY COMPILE_FLAGS " -fPIE")
+
+set_property(TARGET kdesud APPEND_STRING PROPERTY LINK_FLAGS " -pie")
 
 ########### install files ###############
 

Reply via email to