[python-flask] Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
Bohuslav Kabrda
bkabrda at fedoraproject.org
Tue May 13 12:35:28 UTC 2014
commit d5e62add40986a96f59048a3d9319d02fc378ed2
Author: Slavek Kabrda <bkabrda at redhat.com>
Date: Tue May 13 14:35:15 2014 +0200
Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
- Minor fix to rhel macro logic
python-flask.spec | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/python-flask.spec b/python-flask.spec
index a8ec4f9..e2ba42e 100644
--- a/python-flask.spec
+++ b/python-flask.spec
@@ -9,7 +9,7 @@
Name: python-flask
Version: 0.10.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Epoch: 1
Summary: A micro-framework for Python based on Werkzeug, Jinja 2 and good intentions
@@ -22,7 +22,8 @@ BuildArch: noarch
BuildRequires: python2-devel python-setuptools python-werkzeug python-sphinx
Requires: python-werkzeug
-%if 0%{?rhel} < 7
+# if we're not on rhel, 0%%{?rhel} < 7, so we need to also check for 0%{?rhel}
+%if 0%{?rhel} && 0%{?rhel} < 7
BuildRequires: python-jinja2-26
BuildRequires: python-itsdangerous
Requires: python-jinja2-26
@@ -138,7 +139,7 @@ make -C docs html
rm -rf %{buildroot}%{python3_sitelib}/site.py
rm -rf %{buildroot}%{python3_sitelib}/site.py[co]
rm -rf %{buildroot}%{python3_sitelib}/easy-install.pth
-rm -rf %{buildroot}%{python3_sitelib}/__pycache__/site.cpython-33.pyc
+rm -rf %{buildroot}%{python3_sitelib}/__pycache__/site.cpython-3?.pyc
rm -rf docs/_build/html/.buildinfo
rm -rf examples/minitwit/*.pyc
rm -rf examples/flaskr/*.pyc
@@ -179,6 +180,10 @@ popd
%changelog
+* Tue May 13 2014 Bohuslav Kabrda <bkabrda at redhat.com> - 1:0.10.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
+- Minor fix to rhel macro logic
+
* Mon Jul 29 2013 Haïkel Guémar <hguemar at fedoraproject.org> - 1:0.10.1-3
- fix wrong requires on sphinx (RHBZ #989361)
More information about the scm-commits
mailing list