[python-flask-wtf] adding missing BuildRequires for %check, disabling %check on python3 due to missing builds, disablin
Tim Flink
tflink at fedoraproject.org
Fri Jul 18 02:20:39 UTC 2014
commit a5715c90c6956bb37001df16038c5692e870e6e6
Author: Tim Flink <tflink at fedoraproject.org>
Date: Thu Jul 17 17:34:54 2014 -0600
adding missing BuildRequires for %check, disabling %check on python3 due to missing builds, disabling %check on f21+ due to RHBZ 1105819
python-flask-wtf.spec | 33 +++++++++++++++++++++++----------
1 files changed, 23 insertions(+), 10 deletions(-)
---
diff --git a/python-flask-wtf.spec b/python-flask-wtf.spec
index c73f91d..2b22e55 100644
--- a/python-flask-wtf.spec
+++ b/python-flask-wtf.spec
@@ -3,7 +3,7 @@
Name: python-flask-wtf
Version: 0.10.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Simple integration of Flask and WTForms
Group: Development/Libraries
@@ -15,12 +15,18 @@ BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-wtforms > 1.0
BuildRequires: python-setuptools
+BuildRequires: python-flask
+BuildRequires: python-nose
+BuildRequires: python-flask-babel
%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-wtforms > 1.0
BuildRequires: python3-setuptools
-%endif
-
+BuildRequires: python3-flask
+BuildRequires: python3-nose
+# check can't work with python3 until builds for python3-flask-babel are available
+#BuildRequires: python3-flask-babel
+%endif
Requires: python-wtforms > 1.0
%if 0%{?with_python3}
Requires: python-wtforms > 1.0
@@ -57,14 +63,16 @@ pushd %{py3dir}
popd
%endif
-%check
-%{__python2} setup.py test
+# disabling check in rawhide and f21 until RHBZ 1105819 is fixed
+#%check
+#%{__python2} setup.py test
-%if 0%{?with_python3}
-pushd %{py3dir}
-%{__python3} setup.py test
-popd
-%endif
+# check can't work with python3 until builds for python3-flask-babel are available
+#%if 0%{?with_python3}
+#pushd %{py3dir}
+#%{__python3} setup.py test
+#popd
+#%endif
%install
%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
@@ -89,6 +97,11 @@ popd
%changelog
+* Thu Jul 17 2014 Tim Flink <tflink at fedoraproject.org> 0.10.0-2
+- Adding missing BuildRequires for %check
+- disabling %check on python3 due to missing builds
+- disabling %check for rawhide and f21 due to RHBZ 1105819
+
* Thu Jul 17 2014 Tim Flink <tflink at fedoraproject.org> 0.10.0-1
- Adding support for python-wtforms >= 2.0 to fix RHBZ 1120888
- added %check
More information about the scm-commits
mailing list