diff --git a/0.14.1.tar.gz b/0.14.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..8f59ca63a1b63f08e223d57fd8c21cb09f4df602 Binary files /dev/null and b/0.14.1.tar.gz differ diff --git a/python-werkzeug.spec b/python-werkzeug.spec index ad198fc982a9dc3204ce8dfb450704f06e8717a8..456650451fff1bb734fd320339ee8d7d7261f3d0 100644 --- a/python-werkzeug.spec +++ b/python-werkzeug.spec @@ -4,13 +4,11 @@ Name: python-werkzeug Summary: A comprehensive WSGI web application library Version: 0.14.1 -Release: 5 +Release: 6 License: BSD URL: http://werkzeug.pocoo.org/ Source0: https://files.pythonhosted.org/packages/source/W/Werkzeug/%{srcname}-%{version}.tar.gz -# Pypi version of werkzeug is missing _themes folder needed to build werkzeug sphinx docs -# See https://github.com/mitsuhiko/werkzeug/issues/761 -Source1: werkzeug-sphinx-theme.tar.gz +Source1: https://github.com/pallets/werkzeug/archive/0.14.1.tar.gz # https://github.com/pallets/werkzeug/pull/1293 # skip tests that use a fixture called 'subprocess' when pytest-xprocess @@ -92,6 +90,7 @@ Documentation and examples for python3-werkzeug. %{__sed} -i 's/\r//' LICENSE %{__sed} -i '1d' tests/multipart/test_collect.py tar -xf %{SOURCE1} +find -name '_themes' -type d -exec cp -r {} docs/ \; rm -rf %{py3dir} cp -a . %{py3dir} diff --git a/werkzeug-sphinx-theme.tar.gz b/werkzeug-sphinx-theme.tar.gz deleted file mode 100644 index 24274c9998c72176a874f043a61241b2a3dfd845..0000000000000000000000000000000000000000 Binary files a/werkzeug-sphinx-theme.tar.gz and /dev/null differ