[pykde4] fix python deps for el6

Rex Dieter rdieter at fedoraproject.org
Fri Mar 22 16:09:09 UTC 2013


commit 258421d2c5a8a2fe504830ff71e6285d744acc9c
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Fri Mar 22 11:08:29 2013 -0500

    fix python deps for el6

 pykde4.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pykde4.spec b/pykde4.spec
index c7ec06c..02067da 100644
--- a/pykde4.spec
+++ b/pykde4.spec
@@ -39,7 +39,11 @@ Patch300: pykde4-4.8.3-webkit.patch
 BuildRequires: kdelibs4-devel >= %{version}
 BuildRequires: kdepimlibs-devel >= %{version}
 BuildRequires: pkgconfig(akonadi)
+%if 0%{?fedora} || 0%{?rhel} > 6
 BuildRequires: pkgconfig(python)
+%else
+BuildRequires: python-devel
+%endif
 BuildRequires: pkgconfig(qimageblitz)
 BuildRequires: pkgconfig(soprano)
 %if 0%{?webkit}


More information about the scm-commits mailing list