From 32f3313533ce562bf9359402f4a8d9779b8baaee Mon Sep 17 00:00:00 2001 From: Jan ONDREJ (SAL) Date: Jun 28 2023 10:48:53 +0000 Subject: Update to latest git commit, which fixes python 3.12 unittests --- diff --git a/.gitignore b/.gitignore index 383a3ac..231cb2d 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ WebTest-1.2.1.tar.gz /2.0.34.tar.gz /2.0.35.tar.gz /3.0.0.tar.gz +/python-webtest-5bc6841.tar.gz diff --git a/python-webtest.spec b/python-webtest.spec index c981a34..eeb66e7 100644 --- a/python-webtest.spec +++ b/python-webtest.spec @@ -1,13 +1,17 @@ +%global commit 5bc6841351a71569889e11f443a7948cb3ca64f0 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + %global with_tests 1 Name: python-webtest Version: 3.0.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Helper to test WSGI applications License: MIT URL: https://github.com/Pylons/webtest -Source0: https://github.com/Pylons/webtest/archive/%{version}.tar.gz +#Source0: https://github.com/Pylons/webtest/archive/%%{version}.tar.gz +Source0: https://github.com/Pylons/webtest/archive/%{commit}/%{name}-%{shortcommit}.tar.gz BuildArch: noarch @@ -54,7 +58,8 @@ with any WSGI-compatible framework. %prep -%setup -q -n webtest-%{version} +#%%setup -q -n webtest-%%{version} +%autosetup -n webtest-%{commit} # Remove bundled egg info if it exists. rm -rf *.egg-info @@ -81,6 +86,9 @@ cp -a CHANGELOG.rst docs/ %{python3_sitelib}/WebTest-*.egg-info %changelog +* Wed Jun 28 2023 Ján ONDREJ (SAL) - 3.0.0-8 +- Update to latest git commit, which fixes python 3.12 unittests + * Wed Jun 14 2023 Python Maint - 3.0.0-7 - Rebuilt for Python 3.12 diff --git a/sources b/sources index e74603a..cba00d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (3.0.0.tar.gz) = 22d3cb35cf80ab9d1e1862ee6f051b469a88cbc6b6a2aa7a57009cc1075195769f1e5d06fbb8540872fe129bf2818f30b09d1f2ebe4c7798a3e20b8fff05be17 +SHA512 (python-webtest-5bc6841.tar.gz) = 918d22b88ba0cca729536cb463ec21360ba7943e5ffc2acf32ba72951f2ab219616bc00de4e8a5ccad311e387db7593f51ccc1840b92d91ceae455bd5901b941