## 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 %global pypi_name pyunormalize %global git_commit 4b45c576567fb0293acb93a308c97cbaba3caa5f Name: python-%{pypi_name} Version: 16.0.0 Release: %autorelease BuildArch: noarch Summary: Unicode normalization forms (NFC, NFKC, NFD, NFKD) # ./pyunormalize/_unicode.py is autogenerated from Unicode data and inherited # its license (Unicode-3.0). The rest is licensed under MIT. License: MIT AND Unicode-3.0 URL: https://github.com/mlodewijck/pyunormalize VCS: git:%{url}.git Source0: %{url}/archive/%{git_commit}/%{pypi_name}-%{git_commit}.tar.gz BuildRequires: python3-devel BuildRequires: tox %description %{summary}. %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %{summary}. %prep %autosetup -p1 -n %{pypi_name}-%{git_commit} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{pypi_name} %check %pyproject_check_import %tox %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Thu Jan 09 2025 Peter Lemenkov - 16.0.0-1 - Initial commit ## END: Generated by rpmautospec