[translate-toolkit/epel7] updated RHEL7 dependencies
Michael Mraka
mmraka at fedoraproject.org
Fri Jul 4 08:44:17 UTC 2014
commit 7b463e6ff299abf191a93bc026b4022f0867bf57
Author: Michael Mraka <michael.mraka at redhat.com>
Date: Wed Jul 2 15:15:30 2014 +0200
updated RHEL7 dependencies
translate-toolkit.spec | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/translate-toolkit.spec b/translate-toolkit.spec
index 3bd4044..bdf55cc 100644
--- a/translate-toolkit.spec
+++ b/translate-toolkit.spec
@@ -18,21 +18,24 @@ BuildRequires: python-sphinx
# The following are needed for man page generation
BuildRequires: python-lxml
BuildRequires: python-simplejson
-%{?fedora:BuildRequires: python-vobject}
-%{?fedora:Requires: gettext-libs}
+%if 0%{?fedora} || 0%{?rhel} >= 7
+BuildRequires: python-vobject
+Requires: gettext-libs
+Requires: python-BeautifulSoup
+Requires: python-enchant
+Requires: python-vobject
+%ifarch %{ix86}
+Requires: python-psyco
+%endif
+%else
# EL-5 has gettext = 0.14.6. cPO and new fPO need libgettextpo which was introduced in
# 0.14.2. Some of the improvements since then won't work
%{?rhel:Requires: gettext}
-%{?fedora:Requires: python-enchant}
-%{?fedora:Requires: python-BeautifulSoup}
+%endif
Requires: python-iniparse
Requires: python-Levenshtein
Requires: python-lxml
-%ifarch %{ix86}
-%{?fedora:Requires: python-psyco}
-%endif
Requires: python-simplejson
-%{?fedora:Requires: python-vobject}
Requires: aeidon
%description
More information about the scm-commits
mailing list