## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 srcname uv-dynamic-versioning Name: python-uv-dynamic-versioning Version: 0.12.0 Release: %autorelease Summary: Dynamic versioning based on VCS tags License: MIT URL: https://github.com/ninoseki/uv-dynamic-versioning Source: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch # For autosetup -S git: BuildRequires: git-core BuildRequires: %{py3_dist gitpython} BuildRequires: %{py3_dist pytest} %global _description %{expand: Dynamic versioning based on VCS tags for uv/hatch project.} %description %_description %package -n python3-uv-dynamic-versioning Summary: %{summary} %description -n python3-uv-dynamic-versioning %_description %prep # -S git: tests need to run in a git repository: %autosetup -p1 -n %{srcname}-%{version} -S git %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l uv_dynamic_versioning %check %pyproject_check_import %pytest %files -n python3-uv-dynamic-versioning -f %{pyproject_files} %doc README.md %{_bindir}/uv-dynamic-versioning %changelog ## START: Generated by rpmautospec * Sat Jan 17 2026 Fedora Release Engineering - 0.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Thu Jan 08 2026 W. Michael Petullo - 0.12.0-1 - Initial import (fedora#2427608) ## END: Generated by rpmautospec