[kcm-gtk] simplify to support only newer kde's
Rex Dieter
rdieter at fedoraproject.org
Wed Aug 14 14:41:50 UTC 2013
commit be635f99debb0af0a13278d0244666fdf4cec5c8
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Wed Aug 14 09:38:01 2013 -0500
simplify to support only newer kde's
kcm-gtk.spec | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/kcm-gtk.spec b/kcm-gtk.spec
index f17b40c..f51df40 100644
--- a/kcm-gtk.spec
+++ b/kcm-gtk.spec
@@ -25,10 +25,10 @@ Patch53: kubuntu_01_xsettings_kipc.patch
## upstream patches
BuildRequires: gettext
-BuildRequires: kdelibs4-devel
+BuildRequires: kdelibs4-devel >= 4.8
-# need kcmshell4 from kdebase-runtime at least
-Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+# need kcmshell4 from kde-runtime at least
+Requires: kde-runtime%{?_kde4_version: >= %{_kde4_version}}
%description
This is a System Settings configuration module for configuring the
@@ -42,11 +42,9 @@ appearance of GTK apps in KDE.
%patch52 -p1 -b .fix-de
%patch53 -p1 -b .xsettings_kipc
-%if "%{?_kde4_version}" > "4.5.0"
-# fixup for kde-4.5, see http://bugzilla.redhat.com/628381
+# fixup for kde-4.5+, see http://bugzilla.redhat.com/628381
sed -i.kde45 -e 's|^X-KDE-System-Settings-Parent-Category=appearance$|X-KDE-System-Settings-Parent-Category=application-appearance|' \
kcmgtk.desktop
-%endif
%build
More information about the scm-commits
mailing list