## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 %global pypi_name varint Name: python-%{pypi_name} Version: 1.0.2 Release: %autorelease BuildArch: noarch Summary: A basic varint implementation in python License: MIT URL: https://github.com/fmoo/%{name} # No license file in PyPi tarball. # Upstream bug - https://github.com/fmoo/python-varint/issues/7 Source: %{url}/archive/%{version}/varint-%{version}.tar.gz BuildRequires: python3-devel %description %{summary}. %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %{summary}. %prep %autosetup -p1 -n %{name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{pypi_name} %check %pyproject_check_import # FIXME no tests %files -n python3-%{pypi_name} -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Fri Aug 02 2024 Peter Lemenkov - 1.0.2-3 - Use standard macros * Fri Jul 19 2024 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jul 07 2024 Peter Lemenkov - 1.0.2-1 - Initial build ## END: Generated by rpmautospec