From a4811c461cd607bcafd96c707b9205a26f5fce70 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Mon, 17 Jul 2023 13:44:25 -0400 Subject: [PATCH] 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 --- .gitignore | 2 ++ python-avocado.spec | 10 ++++++++-- sources | 3 ++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e0e0a9a..b5a1b5d 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/python-avocado.spec b/python-avocado.spec index 243e291..32a25f1 100644 --- a/python-avocado.spec +++ b/python-avocado.spec @@ -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 - 92.1-1 +- Updated to 92.1 +- Support building and running under Python 3.12 for F39 + * Wed Jun 14 2023 Python Maint - 92.0-3 - Rebuilt for Python 3.12 diff --git a/sources b/sources index 4e0c9f3..aae30a3 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (avocado-92.0.tar.gz) = 87d424098b26d12cbe14ffc509616c2114c7b549801582593568f94ca181373f0398290cb9569645c40d514f1ae29f77bfad94f6efb2025b1f9b8c5f2a5b7822 +SHA512 (avocado-92.1.tar.gz) = b775ebd014f4c91aae2b13e1aa350940ce7e277eb63ebf7c325f6dd020c10eb21390942080468804ceadd923f52970cb2f2ca214c7855df435d442e99a499ceb +SHA512 (avocado-92.1-python312.patch) = fc94e23c84653b317ba3d9a6a52d99d2e136c2fa50621b5ce36b2b10bbcb8cceac36d12dd715820ebe5ae266768bf3384fcb15b6f4614d4a4dd60415c1821901