[pootle/f13/master] - Fix %if logic for RHEL and Fedora versions
dwayne
dwayne at fedoraproject.org
Wed Aug 18 14:54:22 UTC 2010
commit 53fb7b4d0439ecea4665cb26130654008a1bd3f2
Author: Dwayne Bailey <dwayne at translate.org.za>
Date: Wed Aug 18 16:53:58 2010 +0200
- Fix %if logic for RHEL and Fedora versions
pootle.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/pootle.spec b/pootle.spec
index 02393f6..f65eea1 100644
--- a/pootle.spec
+++ b/pootle.spec
@@ -4,7 +4,7 @@
Name: pootle
Version: 2.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Localization and translation management web application
Group: Development/Tools
@@ -32,7 +32,7 @@ Requires: python-Levenshtein
# EL-5 uses Python 2.4 and thus needs sqlite2
%{?rhel:Requires: python-sqlite2}
Requires: translate-toolkit >= 1.5.1
-%if 0%{?rhel}>=6%{?fedora}
+%if 0%{?rhel} >= 6 || 0%{?fedora}
Requires: xapian-bindings-python >= 1.0.13
Requires: xapian-core
%endif
@@ -118,7 +118,7 @@ fi
%config(noreplace) %{_sysconfdir}/httpd/conf.d/pootle.conf
%{python_sitelib}/*
%{_datadir}/pootle
-%if 0%{?rhel}>=6%{?fedora}
+%if 0%{?rhel} >= 6 || 0%{?fedora}
%attr(-,apache,apache) %{_sharedstatedir}/pootle
%else
%attr(-,apache,apache) /var/lib/pootle
@@ -128,6 +128,9 @@ fi
%changelog
+* Wed Aug 18 2010 Dwayne Bailey <dwayne at translate.org.za> - 2.1.0-2
+- Fix %%if logic for RHEL and Fedora versions
+
* Wed Aug 18 2010 Dwayne Bailey <dwayne at translate.org.za> - 2.1.0-1
- Update to 2.1.0
- Improved performance, concurrency and memory consumption
More information about the scm-commits
mailing list