| |
@@ -15,8 +15,8 @@
|
| |
|
| |
Name: python-webob
|
| |
Summary: WSGI request and response object
|
| |
- Version: 1.7.4
|
| |
- Release: 3%{?dist}
|
| |
+ Version: 1.8.1
|
| |
+ Release: 1%{?dist}
|
| |
License: MIT
|
| |
Group: System Environment/Libraries
|
| |
URL: http://pythonpaste.org/webob/
|
| |
@@ -29,9 +29,6 @@
|
| |
BuildRequires: python2-setuptools
|
| |
|
| |
%if 0%{?with_tests}
|
| |
- BuildRequires: python2-dtopt
|
| |
- BuildRequires: python2-tempita
|
| |
- BuildRequires: python2-webtest
|
| |
BuildRequires: python2-nose
|
| |
BuildRequires: python2-pytest
|
| |
%endif # with_tests
|
| |
@@ -119,11 +116,13 @@
|
| |
|
| |
%check
|
| |
%if 0%{?with_tests}
|
| |
- %{__python} setup.py test
|
| |
+ export PYTHONPATH=%{buildroot}%{python_sitelib}
|
| |
+ py.test tests
|
| |
|
| |
%if 0%{?with_python3}
|
| |
pushd %{py3dir}
|
| |
- %{__python3} setup.py test
|
| |
+ export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
| |
+ py.test-3 tests
|
| |
popd
|
| |
%endif
|
| |
%endif # with_tests
|
| |
@@ -143,6 +142,9 @@
|
| |
%endif
|
| |
|
| |
%changelog
|
| |
+ * Tue May 29 2018 Alfredo Moralejo <amoralej@redhat.com> - 1.8.1-1
|
| |
+ - Update to upstream version 1.8.1.
|
| |
+
|
| |
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.7.4-3
|
| |
- Update Python 2 dependency declarations to new packaging standards
|
| |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
| |