[python-chameleon/el6] Fix to build on RHEL6
Toshio くらとみ
toshio at fedoraproject.org
Thu Nov 10 16:31:07 UTC 2011
commit 817a3758ae5b686b0ac3ac990975ad3ba4944991
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date: Thu Nov 10 08:30:01 2011 -0800
Fix to build on RHEL6
python-chameleon.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/python-chameleon.spec b/python-chameleon.spec
index ca7f806..c176bc8 100644
--- a/python-chameleon.spec
+++ b/python-chameleon.spec
@@ -22,6 +22,10 @@ BuildRequires: python-setuptools
BuildRequires: python-lxml
BuildRequires: python-zope-interface
+%if 0%{?rhel} && 0%{?rhel} <= 6
+BuildRequires: python-unittest2
+%endif
+
%if 0%{?rhel} && 0%{?rhel} < 6
BuildRequires: python-elementtree
Requires: python-elementtree
@@ -76,7 +80,10 @@ rm -rf %{buildroot}
%changelog
-* Mon Oct 3 2011 Toshio Kuratomi <toshio at fedoraproject.org> - 2.5.3-1
+* Thu Nov 10 2011 Toshio Kuratomi <toshio at fedoraproject.org> - 2.5.3-1.1
+- Fix to build on RHEL6
+
+* Thu Nov 10 2011 Toshio Kuratomi <toshio at fedoraproject.org> - 2.5.3-1
- New upstream release
* Mon Oct 3 2011 Toshio Kuratomi <toshio at fedoraproject.org> - 2.5.1-1
More information about the scm-commits
mailing list