Name: python-pyupgrade Version: 3.3.0 Release: 1%{?dist} Summary: A tool to upgrade syntax of Python code for newer versions of the language License: MIT URL: https://github.com/asottile/pyupgrade Source: %{url}/archive/v%{version}/pyupgrade-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # Testing requirements # covdefaults (from tox.ini -> requirements-dev.txt) is not packaged # for Fedora, using pytest directly BuildRequires: python3dist(pytest) %global _description %{expand: A tool to upgrade syntax of Python code for newer versions of the language.} %description %_description %package -n python3-pyupgrade Summary: %{summary} %description -n python3-pyupgrade %_description %prep %autosetup -p1 -n pyupgrade-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pyupgrade %check %pytest %files -n python3-pyupgrade -f %{pyproject_files} %doc README.md LICENSE %{_bindir}/pyupgrade %changelog * Fri Dec 02 2022 Onuralp SEZER - 3.3.0-1 - Update to 3.3.0 (resolves rhbz#2150391) * Wed Nov 30 2022 Onuralp SEZER - 3.2.3-1 - Update to 3.2.3 (resolves rhbz#2149341) * Thu Nov 24 2022 Onuralp SEZER - 3.2.2-1 - Update to 3.2.2 (resolves rhbz#2133584) * Tue Oct 04 2022 Roman Inflianskas - 3.0.0-1 - Update to 3.0.0 (resolves rhbz#2129567) * Tue Oct 04 2022 Roman Inflianskas - 2.38.4-1 - Update to 2.38.4 * Mon Sep 19 2022 Roman Inflianskas - 2.38.0-1 - Update to 2.38.0 (resolves rhbz#2127202) * Thu Jul 28 2022 Roman Inflianskas - 2.37.3-1 - Update to 2.37.3 * Mon Jul 25 2022 Roman Inflianskas - 2.37.2-1 - Initial package