[python-taskw] Conditionalize cli integration for epel.
Ralph Bean
ralph at fedoraproject.org
Tue Jan 21 16:03:27 UTC 2014
commit 95c2a56decde2a4daa75c0df49d0fddb935f651d
Author: Ralph Bean <rbean at redhat.com>
Date: Tue Jan 21 11:03:39 2014 -0500
Conditionalize cli integration for epel.
python-taskw.spec | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/python-taskw.spec b/python-taskw.spec
index 6292945..938804b 100644
--- a/python-taskw.spec
+++ b/python-taskw.spec
@@ -12,7 +12,7 @@
Name: python-taskw
Version: 0.7.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Python bindings for your taskwarrior database
Group: Development/Libraries
@@ -27,10 +27,15 @@ BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: python-nose
BuildRequires: python-six
-BuildRequires: task
Requires: python-six
+
+%if 0%{?rhel} && 0%{?rhel} <= 6
+# The integration with task CLI doesn't work for older versions.
+%else
+BuildRequires: task
Requires: task
+%endif
%if %{?rhel}%{!?rhel:0} >= 6
BuildRequires: python-ordereddict
@@ -113,6 +118,9 @@ popd
%changelog
+* Tue Jan 21 2014 Ralph Bean <rbean at redhat.com> - 0.7.1-2
+- Conditionalize task cli integration for epel.
+
* Tue Jan 21 2014 Ralph Bean <rbean at redhat.com> - 0.7.1-1
- Latest upstream.
- Modernized python macros.
More information about the scm-commits
mailing list