%global tag .infinidat %global python3_pkgversion 3.11 %global __python3 /usr/bin/python%{python3_pkgversion} %global srcname mitba Name: python%{python3_pkgversion}-%{srcname} Version: 1.1.1 Release: 1%{?tag}%{?dist} Summary: Python library for caching results from functions and methods Group: Applications/System License: BSD Vendor: Infinidat URL: https://github.com/Infinidat/%{srcname} Source: %{pypi_source} BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-rpm-macros BuildRequires: python%{python3_pkgversion}dist(pbr) BuildRequires: python%{python3_pkgversion}dist(pip) BuildRequires: python%{python3_pkgversion}dist(setuptools) Requires: python%{python3_pkgversion}dist(flux) Requires: python%{python3_pkgversion}dist(logbook) >= 0.12.2 %description Mitba is a small library for implementing method or function-level caching for results. %prep %autosetup -n %{srcname}-%{version} rm -rf %{srcname}.egg-info %build %py3_build %install %py3_install %files %license LICENSE %doc README.md %{python3_sitelib}/%{srcname} %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info %changelog * Mon Apr 04 2022 Alexander Deiter - 1.1.1-1 - Initial RPM release