[python/f18] Modify the conditional dependencies to also cover rhel.

Bohuslav Kabrda bkabrda at fedoraproject.org
Wed Oct 10 08:31:59 UTC 2012


commit 095994d780e30baf7e8c58a20243acc7a0f0c867
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Wed Oct 10 10:31:01 2012 +0200

    Modify the conditional dependencies to also cover rhel.

 python.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python.spec b/python.spec
index 8faf050..bf7217d 100644
--- a/python.spec
+++ b/python.spec
@@ -125,7 +125,7 @@ Provides: python(abi) = %{pybasever}
 BuildRequires: autoconf
 BuildRequires: bzip2
 BuildRequires: bzip2-devel
-%if 0%{?fedora} < 18
+%if 0%{?fedora} && 0%{?fedora} < 18 || 0%{?rhel} && 0%{?rhel} < 7
 BuildRequires: db4-devel >= 4.8
 %endif
 
@@ -140,7 +140,7 @@ BuildRequires: gdbm-devel
 %endif
 BuildRequires: glibc-devel
 BuildRequires: gmp-devel
-%if 0%{?fedora} >= 18
+%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
 BuildRequires: libdb4-devel
 %endif
 BuildRequires: libffi-devel


More information about the scm-commits mailing list