[python-flask-script] Update to 2.0.5
Robert Kuska
rkuska at fedoraproject.org
Thu Jul 3 11:44:30 UTC 2014
commit eb8dd4deba19bf8a7bc7cfccfb12e05b7d47cbf1
Author: Robert Kuska <rkuska at redhat.com>
Date: Thu Jul 3 13:44:21 2014 +0200
Update to 2.0.5
.gitignore | 1 +
python-flask-script.spec | 22 +++++++++++++---------
sources | 2 +-
3 files changed, 15 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 799aff3..c0252a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/Flask-Script-0.5.3.tar.gz
/Flask-Script-0.6.2.tar.gz
/Flask-Script-0.6.7.tar.gz
+/Flask-Script-2.0.5.tar.gz
diff --git a/python-flask-script.spec b/python-flask-script.spec
index c8e665c..3cc7c23 100644
--- a/python-flask-script.spec
+++ b/python-flask-script.spec
@@ -5,8 +5,8 @@
%endif
Name: python-flask-script
-Version: 0.6.7
-Release: 4%{?dist}
+Version: 2.0.5
+Release: 1%{?dist}
Summary: Scripting support for Flask
License: BSD
@@ -19,12 +19,14 @@ BuildRequires: python-setuptools
BuildRequires: pytest
BuildRequires: python-flask
BuildRequires: python-sphinx
+BuildRequires: pytest
%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
BuildRequires: python3-flask
BuildRequires: python3-sphinx
+BuildRequires: python3-pytest
%endif
Requires: python-flask
@@ -58,7 +60,7 @@ cp -a . %{py3dir}
%endif
%build
-%{__python} setup.py build
+%{__python2} setup.py build
# generate sphinx documentation
cd docs && make html
# deleting unneeded buildinfo, we dont expect users to change html docs
@@ -73,16 +75,15 @@ popd
%endif
%check
-%{__python} setup.py test
-
+py.test-%{python2_version} tests.py
%if 0%{?with_python3}
pushd %{py3dir}
-%{__python3} setup.py test
+py.test-%{python3_version} tests.py
popd
%endif
%install
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%if 0%{?with_python3}
pushd %{py3dir}
@@ -93,8 +94,8 @@ popd
%files
%doc docs/_build/html README.rst LICENSE
-%{python_sitelib}/*.egg-info/
-%{python_sitelib}/flask_script/*.py*
+%{python2_sitelib}/*.egg-info/
+%{python2_sitelib}/flask_script/*.py*
%if 0%{?with_python3}
%files -n python3-flask-script
@@ -104,6 +105,9 @@ popd
%endif
%changelog
+* Thu Jul 03 2014 Robert Kuska <rkuska at redhat.com> - 2.0.5-1
+- Updated to 2.0.5
+
* Thu Jul 03 2014 Robert Kuska <rkuska at redhat.com> - 0.6.7-4
- Move Python 3 Requires into correct place
diff --git a/sources b/sources
index 9fd410b..799bf98 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-408d6fb71684a779704fd5875144bf5d Flask-Script-0.6.7.tar.gz
+e5c73d3b7937f5b88942f342f9617029 Flask-Script-2.0.5.tar.gz
More information about the scm-commits
mailing list