[kde-cli-tools] kdesu subpkg (#1199720)
Rex Dieter
rdieter at fedoraproject.org
Sat Mar 7 14:00:00 UTC 2015
commit da5c415cbf61709a78952fd030984355e90dff80
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Sat Mar 7 07:59:59 2015 -0600
kdesu subpkg (#1199720)
kde-cli-tools.spec | 26 +++++++++++++++++++++-----
1 file changed, 21 insertions(+), 5 deletions(-)
---
diff --git a/kde-cli-tools.spec b/kde-cli-tools.spec
index 630036c..e4a966a 100644
--- a/kde-cli-tools.spec
+++ b/kde-cli-tools.spec
@@ -1,6 +1,6 @@
Name: kde-cli-tools
Version: 5.2.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Tools based on KDE Frameworks 5 to better interact with the system
License: GPLv2+
@@ -31,12 +31,23 @@ BuildRequires: kf5-kwindowsystem-devel
Requires: kf5-filesystem
-Provides: kdesu
+# probably could be unversioned, but let's play it safe so we can avoid adding Conflicts: -- rex
+Requires: kdesu = %{version}-%{release}
%description
Provides several KDE and Plasma specific command line tools to allow
better interaction with the system.
+%package -n kdesu
+Summary: Runs a program with elevated privileges
+## added deps below avoidable to due main pkg Requires: kdesu -- rex
+# upgrade path, when kdesu was introduced
+#Obsoletes: kde-cli-tools < 5.2.1-3
+#Requires: %{name} = %{version}-%{release}
+%description -n kdesu
+%{summary}.
+
+
%prep
%setup -q -n %{name}-%{version}
@@ -65,17 +76,22 @@ ln -s %{_kf5_libexecdir}/kdesu %{buildroot}%{_bindir}/kdesu
%{_bindir}/kstart5
%{_bindir}/ksvgtopng5
%{_bindir}/ktraderclient5
-%{_bindir}/kdesu
-%{_kf5_libexecdir}/kdesu
%{_kf5_libexecdir}/kdeeject
%{_kf5_libdir}/libkdeinit5_kcmshell5.so
%{_kf5_qtplugindir}/kcm_filetypes.so
-%{_kf5_libexecdir}/kdesu
%{_kf5_datadir}/kservices5/filetypes.desktop
+
+%files -n kdesu
+%{_bindir}/kdesu
+%{_kf5_libexecdir}/kdesu
%{_mandir}/man1/kdesu.1.gz
%{_datadir}/doc/HTML/en/kdesu
+
%changelog
+* Sat Mar 07 2015 Rex Dieter <rdieter at fedoraproject.org> 5.2.1-3
+- kdesu subpkg (#1199720)
+
* Fri Feb 27 2015 Daniel Vrátil <dvratil at redhat.com> - 5.2.1-2
- Rebuild (GCC 5)
More information about the scm-commits
mailing list