## START: Set by rpmautospec ## (rpmautospec version 0.6.5) ## 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: opensuse-distro-aliases Version: 0.1.3 Release: %autorelease Summary: Aliases for active openSUSE releases License: MIT URL: https://github.com/rpm-software-management/opensuse-distro-aliases Source: %{pypi_source opensuse_distro_aliases} BuildArch: noarch BuildRequires: python3-devel %generate_buildrequires %pyproject_buildrequires %global _description %{expand: This project provides a list of the currently maintained openSUSE distributions. It is the openSUSE equivalent of fedora-distro-aliases.} %description %_description %package -n python3-opensuse-distro-aliases Summary: %{summary} %description -n python3-opensuse-distro-aliases %_description %prep %autosetup -p1 -n opensuse_distro_aliases-%{version} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files opensuse_distro_aliases %check %pyproject_check_import -t %files -n python3-opensuse-distro-aliases -f %{pyproject_files} %license COPYING %doc README.rst %changelog ## START: Generated by rpmautospec * Wed Jul 24 2024 Dan Čermák - 0.1.3-1 - First version of the opensuse-distro-aliases package ## END: Generated by rpmautospec