diff --git a/generate-tarball.sh b/generate-tarball.sh index da92a04..d6b0ffa 100755 --- a/generate-tarball.sh +++ b/generate-tarball.sh @@ -7,6 +7,7 @@ fi VERSION=$1 +wget https://github.com/Pylons/waitress/archive/v$VERSION/waitress-$VERSION.tar.gz tar -xzvf waitress-$VERSION.tar.gz rm -rf waitress-$VERSION/docs mv waitress-$VERSION waitress-$VERSION-nodocs diff --git a/python-waitress.spec b/python-waitress.spec index cf3a0bf..4b8119c 100644 --- a/python-waitress.spec +++ b/python-waitress.spec @@ -1,5 +1,5 @@ Name: python-waitress -Version: 3.0.0 +Version: 3.0.1 Release: %autorelease Summary: Waitress WSGI server @@ -7,6 +7,9 @@ License: ZPL-2.1 URL: https://github.com/Pylons/waitress Source0: waitress-%{version}-nodocs.tar.gz # Upstream ships non free docs files. +# +# https://github.com/Pylons/waitress/issues/78 +# # We do not even want them in our src.rpms # So we remove them before uploading. # @@ -46,13 +49,12 @@ sed -e '/pytest-cov/d' \ %install %pyproject_install -%pyproject_save_files waitress +%pyproject_save_files -l waitress %check %pytest %files -n python3-waitress -f %{pyproject_files} -%license COPYRIGHT.txt LICENSE.txt %doc README.rst CHANGES.txt %{_bindir}/waitress-serve diff --git a/sources b/sources index 92d79fc..6dd1ec9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (waitress-3.0.0-nodocs.tar.gz) = 5d7d5cffd986ca797961041e5d2aad70be9a00031e527ba6f727902973347a173b03b985323d3631d159eca13bc0fbfff532f2b96b2198cefef030817a7ba7d9 +SHA512 (waitress-3.0.1-nodocs.tar.gz) = 49b04d009263c440ebc6cf2d84e69bd458a45a83269d58e19318cc2a1a8be7a1c05fb0ba0c75cbe3df8e23eb7d8bdba282ed73f5f6acefed8bf252220fc43e37