diff --git a/python-webtest.spec b/python-webtest.spec index 5d86f7e..7be3c1e 100644 --- a/python-webtest.spec +++ b/python-webtest.spec @@ -1,5 +1,3 @@ -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} - %if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 # Override py3dir to avoid potential troublesome characters in path @@ -8,14 +6,14 @@ %endif Name: python-webtest -Version: 2.0.29 -Release: 7%{?dist} +Version: 2.0.30 +Release: 1%{?dist} Summary: Helper to test WSGI applications Group: Development/Languages License: MIT -URL: http://pythonpaste.org/webtest/ -Source0: https://pypi.io/packages/source/W/WebTest/WebTest-%{version}.tar.gz +URL: https://github.com/Pylons/webtest +Source0: https://github.com/Pylons/webtest/archive/%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel @@ -85,7 +83,7 @@ with any WSGI-compatible framework. %prep -%setup -q -n WebTest-%{version} +%setup -q -n webtest-%{version} # Remove bundled egg info if it exists. rm -rf *.egg-info @@ -98,10 +96,6 @@ find tests -type f -exec sed -i "s|import mock|from unittest import mock|" {} \; popd %endif -# https://github.com/Pylons/webtest/pull/190 -chmod -x docs/contributing.rst - - %build %py2_build @@ -134,8 +128,8 @@ popd %files -n python2-webtest %doc docs/* -%{python_sitelib}/webtest -%{python_sitelib}/*.egg-info +%{python2_sitelib}/webtest +%{python2_sitelib}/*.egg-info %if 0%{?with_python3} %files -n python3-webtest @@ -145,6 +139,10 @@ popd %endif %changelog +* Tue Jul 24 2018 Kevin Fenzi - 2.0.30-1 +- Update to 2.0.30 +- Fix FTBFS bug #1605988 + * Sat Jul 14 2018 Fedora Release Engineering - 2.0.29-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild