%global srcname vermin Name: python-%{srcname} Version: 1.8.0 Release: 0%{?dist}.1sunshine Summary: Detect the minimum Python versions needed to run code License: MIT URL: https://github.com/netromdk/vermin Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz Patch0: 0001-pyproject.toml-relax-setuptools-requirement.patch BuildArch: noarch # 3.2+ according to vermin, for unittest.main(buffer): BuildRequires: python3-devel >= 3.2 BuildRequires: python3-setuptools %global _description %{expand: Concurrently detect the minimum Python versions needed to run code.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %{_description} %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l vermin %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE.txt %{_bindir}/%{srcname} %doc README.rst SECURITY.md sample.vermin.ini %changelog * Fri May 15 2026 Moritz Barsnick 1.8.0-0.1sunshine - update to 1.8.0 - convert to new python macros - add a patch to allow lower setuptools versions * Sun Nov 10 2024 Moritz Barsnick 1.6.0-0.1sunshine - update to 1.6.0 * Wed Jul 05 2023 Moritz Barsnick 1.5.2-0.1sunshine - update to 1.5.2 - properly use %%{description} * Fri Mar 10 2023 Moritz Barsnick 1.5.1-0.2sunshine - drop use of %%{description}, it doesn't work (not in other Fedora packages either) * Fri Mar 10 2023 Moritz Barsnick 1.5.1-0.1sunshine - update to 1.5.1 * Wed Nov 09 2022 Moritz Barsnick 1.5.0-0.1sunshine - update to 1.5.0 - rearrange SPEC file - make target explicitly python3 - package SECURITY.md * Tue Aug 30 2022 Moritz Barsnick 1.4.2-0.1sunshine - update to 1.4.2 * Mon Jul 4 2022 Moritz Barsnick 1.4.0-0.1sunshine - update to 1.4.0 * Sun Jan 2 2022 Moritz Barsnick 1.3.3-0.1sunshine - initial RPM