## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-findpython Version: 0.6.2 Release: %autorelease Summary: A utility to find python versions on your system License: MIT URL: https://github.com/frostming/findpython Source: %{pypi_source findpython} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest %global _description %{expand: Findpython searches for python executables available on the system.} %description %_description %package -n python3-findpython Summary: %{summary} %description -n python3-findpython %_description %prep %autosetup -p1 -n findpython-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -L findpython %check %pytest %files -n python3-findpython -f %{pyproject_files} %doc README.md %license LICENSE %{_bindir}/findpython %changelog ## START: Generated by rpmautospec * Tue Feb 04 2025 Tomáš Hrnčiar - 0.6.2-1 - Initial import (fedora#234352). ## END: Generated by rpmautospec