diff --git a/.gitignore b/.gitignore index f6f61b9..630bb5b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /cornice-0.16.2.tar.gz /cornice-1.0.0.tar.gz +/cornice-1.1.0.tar.gz diff --git a/python-cornice.spec b/python-cornice.spec index 985ae8f..12b7940 100644 --- a/python-cornice.spec +++ b/python-cornice.spec @@ -1,5 +1,8 @@ %global module cornice +%{!?py2ver: %global py2ver %(%{__python2} -c "import sys ; print(sys.version[:3])")} +%{!?py3ver: %global py3ver %(%{__python3} -c "import sys ; print(sys.version[:3])")} + %if 0%{?fedora} %global with_python3 1 %else @@ -15,8 +18,8 @@ Name: python-cornice Summary: Define Web Services in Pyramid -Version: 1.0.0 -Release: 3%{?dist} +Version: 1.1.0 +Release: 1%{?dist} License: MPLv2.0 URL: https://pypi.python.org/pypi/cornice @@ -39,6 +42,7 @@ BuildRequires: python-setuptools BuildRequires: python-simplejson BuildRequires: python-venusian BuildRequires: python-webtest +BuildRequires: python-nose Requires: python-colander Requires: python-docutils @@ -77,6 +81,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-simplejson BuildRequires: python3-venusian BuildRequires: python3-webtest +BuildRequires: python3-nose Requires: python3-colander Requires: python3-docutils @@ -136,11 +141,11 @@ popd %check -%{__python2} setup.py test +nosetests-%{py2ver} %if %{with_python3} pushd %{py3dir} -%{__python3} setup.py test +nosetests-%{py3ver} popd %endif @@ -167,6 +172,10 @@ popd %changelog +* Wed Jan 13 2016 Luke Macken - 1.1.0-1 +- Update to 1.1.0 +- Get the test suite running again with nose + * Tue Nov 10 2015 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 diff --git a/sources b/sources index 9d3c860..ec5821b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -47bf47eaeb6ef001b5633d0c17e3221b cornice-1.0.0.tar.gz +e10a90f114460cecf77ee1c9057adf29 cornice-1.1.0.tar.gz