diff --git a/WebOb-1.7.1.tar.gz b/WebOb-1.7.1.tar.gz deleted file mode 100644 index da19f41..0000000 --- a/WebOb-1.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3b2e3e4a46ce92614fb7d85081a63d03fa0c714dbe0195d5d91ec0205526c83f -size 215517 diff --git a/WebOb-1.7.2.tar.gz b/WebOb-1.7.2.tar.gz new file mode 100644 index 0000000..dadcf37 --- /dev/null +++ b/WebOb-1.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0dc8b30bdbf15d8fd1a967e30ece3357f2f468206354f69213e57b30a63f0039 +size 215746 diff --git a/python-WebOb.changes b/python-WebOb.changes index 6f289a9..a0bd07f 100644 --- a/python-WebOb.changes +++ b/python-WebOb.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Apr 4 12:47:31 UTC 2017 - tbechtold@suse.com + +- update to 1.7.2: + - Allow unnamed fields in form data to be properly transcoded when calling + request.decode with an alternate encoding. See + https://github.com/Pylons/webob/pull/309 +- Switch to singlespec approach + ------------------------------------------------------------------- Fri Feb 10 16:14:42 UTC 2017 - tbechtold@suse.com diff --git a/python-WebOb.spec b/python-WebOb.spec index e9c8fb9..b0a08a9 100644 --- a/python-WebOb.spec +++ b/python-WebOb.spec @@ -16,30 +16,28 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-WebOb -Version: 1.7.1 +Version: 1.7.2 Release: 0 Summary: WSGI request and response object License: MIT Group: Development/Languages/Python Url: http://webob.org/ Source: https://pypi.io/packages/source/W/WebOb/WebOb-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools -# Test requirements: -# for ssl module: -BuildRequires: python -BuildRequires: python-nose +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # Documentation requirements: -BuildRequires: python-Sphinx +BuildRequires: python3-Sphinx BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: python-webob = %{version} Obsoletes: python-webob < %{version} -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif + +%python_subpackages %description WebOb provides wrappers around the WSGI request environment, and an @@ -49,33 +47,33 @@ The objects map much of the specified behavior of HTTP, including header parsing and accessors for other standard parts of the environment. -%package doc +%package -n python-WebOb-doc Summary: WSGI request and response object - Documentation Group: Documentation/HTML -Requires: %{name} = %{version} +Provides: %{python_module WebOb-doc = %{version}} -%description doc +%description -n python-WebOb-doc This package contains documentation files for %{name}. %prep %setup -q -n WebOb-%{version} %build -python setup.py build -python setup.py build_sphinx && rm build/sphinx/html/.buildinfo +%python_build +%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install %check -python setup.py test +%python_exec setup.py test -%files +%files %python_files %defattr(-,root,root,-) %doc docs/license.txt %{python_sitelib}/* -%files doc +%files -n python-WebOb-doc %defattr(-,root,root,-) %doc build/sphinx/html