## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 git_commit 0642a71126c32cd26b3a443a5cac27e4e1f7240f %global pypi_name morphys %global common_description %{expand: Smart conversions between unicode and bytes types for common cases in python.} Name: python-%{pypi_name} Version: 1.0 Release: %autorelease BuildArch: noarch Summary: Smart conversions between unicode and bytes types License: MPL-2.0 URL: https://github.com/mkalinski/%{pypi_name} VCS: git:%{url}.git Source0: %{url}/archive/%{git_commit}/morphys-1.0.tar.gz BuildSystem: pyproject BuildOption(prep): -n %{pypi_name}-%{git_commit} BuildOption(install): -l %{pypi_name} %description %{common_description} %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %{common_description} %check -a %python3 ./tests.py %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Thu Mar 13 2025 Peter Lemenkov - 1.0-4 - F41+: Use the provisional declarative buildsystem * Sat Jan 18 2025 Fedora Release Engineering - 1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Oct 22 2024 Peter Lemenkov - 1.0-2 - Cosmetic change * Mon Aug 05 2024 Peter Lemenkov - 1.0-1 - Initial commit ## END: Generated by rpmautospec