[kde-workspace] simplify python/wayland deps

Rex Dieter rdieter at fedoraproject.org
Sat Mar 8 03:38:08 UTC 2014


commit fe0c07698f9a7a8cb0681a60bca232576d048598
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Fri Mar 7 21:37:43 2014 -0600

    simplify python/wayland deps

 kde-workspace.spec |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/kde-workspace.spec b/kde-workspace.spec
index a56aacc..1ecd269 100644
--- a/kde-workspace.spec
+++ b/kde-workspace.spec
@@ -197,12 +197,6 @@ BuildRequires: pkgconfig(libxklavier)
 # added libnm-glib to workaround https://bugzilla.redhat.com/show_bug.cgi?id=685442
 BuildRequires: pkgconfig(NetworkManager) pkgconfig(libnm-glib)
 BuildRequires: pkgconfig(polkit-qt-1)
-%if 0%{?fedora} || 0%{?rhel} > 6
-BuildRequires: pkgconfig(python)
-BuildRequires: pkgconfig(wayland-client) pkgconfig(wayland-egl) pkgconfig(wayland-server)
-%else
-BuildRequires: python-devel
-%endif
 BuildRequires: pkgconfig(qimageblitz)
 BuildRequires: pkgconfig(QJson)
 %if 0%{?webkit}
@@ -222,9 +216,11 @@ BuildRequires: pkgconfig(xcomposite) pkgconfig(xdamage) pkgconfig(xrender)
 BuildRequires: pkgconfig(gl) pkgconfig(glu)
 # kwin-gles
 %if 0%{?fedora} || 0%{?rhel} > 6
-BuildRequires: pkgconfig(glesv2) pkgconfig(egl)
 %define gles 1
+BuildRequires: pkgconfig(glesv2) pkgconfig(egl)
+BuildRequires: pkgconfig(wayland-client) pkgconfig(wayland-egl) pkgconfig(wayland-server)
 %endif
+BuildRequires: python2-devel
 
 Obsoletes: kdebase-workspace-googlegadgets < 4.5.80-7
 Obsoletes: plasma-scriptengine-googlegadgets < %{version}-%{release}


More information about the scm-commits mailing list