From 8557aec3cc6800e0dad2bc351555602bb7a79a95 Mon Sep 17 00:00:00 2001 From: Carl George Date: Tue, 21 May 2024 16:17:33 -0500 Subject: [PATCH] Update to version 3.0.0 rhbz#2262711 --- .gitignore | 29 +---------------------------- generate-tarball.sh | 11 ++++++++--- python-waitress.spec | 10 ++++------ sources | 2 +- 4 files changed, 14 insertions(+), 38 deletions(-) diff --git a/.gitignore b/.gitignore index b3d7d68..a8903c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,28 +1 @@ -/waitress-0.8.2.tar.gz -/waitress-0.8.3.tar.gz -/waitress-0.8.4.tar.gz -/waitress-0.8.5.tar.gz -/waitress-0.8.8.tar.gz -/waitress-0.8.9.tar.gz -/waitress-0.8.10.tar.gz -/waitress-0.9.0b0.tar.gz -/waitress-0.9.0b1.tar.gz -/waitress-0.9.0.tar.gz -/waitress-1.0.0.tar.gz -/waitress-1.0.1.tar.gz -/waitress-1.0.2.tar.gz -/waitress-1.1.0.tar.gz -/v1.2.1.tar.gz -/v1.2.1-nodocs.tar.gz -/v1.3.1-nodocs.tar.gz -/v1.4.0.tar.gz -/v1.4.0-nodocs.tar.gz -/v1.4.1.tar.gz -/v1.4.1-nodocs.tar.gz -/v1.4.2.tar.gz -/v1.4.2-nodocs.tar.gz -/v1.4.3.tar.gz -/v1.4.3-nodocs.tar.gz -/v1.4.4-nodocs.tar.gz -/v2.1.1-nodocs.tar.gz -/v2.1.2-nodocs.tar.gz +/waitress-*-nodocs.tar.gz diff --git a/generate-tarball.sh b/generate-tarball.sh index f45f570..da92a04 100755 --- a/generate-tarball.sh +++ b/generate-tarball.sh @@ -1,8 +1,13 @@ -#!/bin/sh +#!/bin/bash + +if [[ $# -ne 1 ]]; then + echo "usage: $(basename $0) " + exit 1 +fi VERSION=$1 -tar -xzvf v$VERSION.tar.gz +tar -xzvf waitress-$VERSION.tar.gz rm -rf waitress-$VERSION/docs mv waitress-$VERSION waitress-$VERSION-nodocs -tar -czvf v$VERSION-nodocs.tar.gz waitress-$VERSION-nodocs +tar -czvf waitress-$VERSION-nodocs.tar.gz waitress-$VERSION-nodocs diff --git a/python-waitress.spec b/python-waitress.spec index 2313581..cf3a0bf 100644 --- a/python-waitress.spec +++ b/python-waitress.spec @@ -1,11 +1,11 @@ Name: python-waitress -Version: 2.1.2 +Version: 3.0.0 Release: %autorelease Summary: Waitress WSGI server License: ZPL-2.1 URL: https://github.com/Pylons/waitress -Source0: v%{version}-nodocs.tar.gz +Source0: waitress-%{version}-nodocs.tar.gz # Upstream ships non free docs files. # We do not even want them in our src.rpms # So we remove them before uploading. @@ -21,9 +21,7 @@ BuildArch: noarch %global _description %{expand: Waitress is a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python -standard library. It runs on CPython on Unix and Windows under Python 3.7+. It -is also known to run on PyPy 3 (version 3.7 compatible python) on UNIX. It -supports HTTP/1.0 and HTTP/1.1.} +standard library.} %description %{_description} @@ -35,7 +33,7 @@ BuildRequires: python3-devel %prep %autosetup -n waitress-%{version}-nodocs -sed -e '/pytest-cover/d' \ +sed -e '/pytest-cov/d' \ -e '/coverage/d' \ -e '/addopts/d' \ -i setup.cfg diff --git a/sources b/sources index 1bdd16f..92d79fc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v2.1.2-nodocs.tar.gz) = 184826a390ead6720059b7f6427867b0f228b6d27e3b25db2fb78ed44c45d3da744f07f31690dbe643fc6a483201513ecb1f48053a662e817daecf509cdf0855 +SHA512 (waitress-3.0.0-nodocs.tar.gz) = 5d7d5cffd986ca797961041e5d2aad70be9a00031e527ba6f727902973347a173b03b985323d3631d159eca13bc0fbfff532f2b96b2198cefef030817a7ba7d9