## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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.2.0 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 * Mon Sep 02 2024 Dan Čermák - 0.2.0-1 - New upstream release 0.2.0 * Thu Jul 25 2024 Dan Čermák - 0.1.3-1 - First build of opensuse-distro-aliases, fixes rhbz#2299698 ## END: Generated by rpmautospec