Update to version 92.1

This also enables the build/usage under Python 3.12, making it
suitable for Fedora 39.

Reference: https://bugzilla.redhat.com/show_bug.cgi?id=2220126
Reference: https://bugzilla.redhat.com/show_bug.cgi?id=2155457
Signed-off-by: Cleber Rosa <crosa@redhat.com>
This commit is contained in:
Cleber Rosa 2023-07-17 13:44:25 -04:00
commit a4811c461c
3 changed files with 12 additions and 3 deletions

2
.gitignore vendored
View file

@ -29,3 +29,5 @@
/avocado-80.0.tar.gz
/avocado-82.0.tar.gz
/avocado-92.0.tar.gz
/avocado-92.1.tar.gz
/avocado-92.1-python312.patch

View file

@ -34,8 +34,8 @@
%endif
Name: python-avocado
Version: 92.0
Release: 3%{?gitrel}%{?dist}
Version: 92.1
Release: 1%{?gitrel}%{?dist}
Summary: Framework with tools and libraries for Automated Testing
# Found licenses:
# avocado/core/tapparser.py: MIT
@ -49,6 +49,7 @@ License: GPLv2+ and GPLv2 and MIT
URL: https://avocado-framework.github.io/
Source0: https://github.com/avocado-framework/avocado/archive/%{gitref}/%{gittar}
BuildArch: noarch
Patch0: avocado-92.1-python312.patch
BuildRequires: kmod
BuildRequires: procps-ng
@ -83,6 +84,7 @@ these days a framework) to perform automated testing.
%prep
%setup -q -n avocado-%{gitref}
%patch 0 -p 1
%if 0%{?rhel}
sed -e "s/'PyYAML>=4.2b2'/'PyYAML>=3.12'/" -i optional_plugins/varianter_yaml_to_mux/setup.py
%endif
@ -444,6 +446,10 @@ Again Shell code (and possibly other similar shells).
%changelog
* Mon Jul 17 2023 Cleber Rosa <crosa@redhat.com> - 92.1-1
- Updated to 92.1
- Support building and running under Python 3.12 for F39
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 92.0-3
- Rebuilt for Python 3.12

View file

@ -1 +1,2 @@
SHA512 (avocado-92.0.tar.gz) = 87d424098b26d12cbe14ffc509616c2114c7b549801582593568f94ca181373f0398290cb9569645c40d514f1ae29f77bfad94f6efb2025b1f9b8c5f2a5b7822
SHA512 (avocado-92.1.tar.gz) = b775ebd014f4c91aae2b13e1aa350940ce7e277eb63ebf7c325f6dd020c10eb21390942080468804ceadd923f52970cb2f2ca214c7855df435d442e99a499ceb
SHA512 (avocado-92.1-python312.patch) = fc94e23c84653b317ba3d9a6a52d99d2e136c2fa50621b5ce36b2b10bbcb8cceac36d12dd715820ebe5ae266768bf3384fcb15b6f4614d4a4dd60415c1821901