## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 srcname spdx_license_list Name: python-spdx-license-list Version: 3.26.0 Release: %autorelease Summary: SPDX License List as a Python dictionary License: MIT URL: https://pypi.org/project/spdx-license-list/ Source: %{pypi_source %{srcname}} BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel %global _description %{expand: Provides the SPDX License List as a Python dictionary.} %description %_description %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} %description -n python%{python3_pkgversion}-%{srcname} %_description %prep %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %pyproject_check_import %{srcname} %files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files} %license LICENSE %doc README.md %changelog ## START: Generated by rpmautospec * Thu Jun 12 2025 John Doe - 3.26.0-1 - Uncommitted changes ## END: Generated by rpmautospec