## 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 Name: python-importlib-resources Version: 6.4.4 Release: %autorelease Summary: Backport of the importlib.resources module License: Apache-2.0 URL: https://github.com/python/importlib_resources Source: %{pypi_source importlib_resources} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: importlib_resources is a backport of Python standard library importlib.resources module for older Pythons. The key goal of this module is to replace parts of pkg_resources with a solution in Python's stdlib that relies on well-defined APIs. This makes reading resources included in packages easier, with more stable and consistent semantics.} %description %_description %package -n python3-importlib-resources Summary: %{summary} %description -n python3-importlib-resources %_description %prep %autosetup -n importlib_resources-%{version} %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files importlib_resources %check %pytest %files -n python3-importlib-resources -f %{pyproject_files} %license LICENSE %doc README.rst %changelog ## START: Generated by rpmautospec * Mon Aug 26 2024 Cristian Le - 6.4.4-1 - import rhbz#2307512 ## END: Generated by rpmautospec