Name: fastrlock Summary: A fast RLock implementation for CPython Version: 0.8 Release: 4%{?dist} License: MIT URL: https://github.com/scoder/fastrlock Source0: %{name}-%{version}.tar.gz BuildRequires: gcc python3-devel python3-setuptools BuildRequires: python3-Cython %description A fast RLock implementation for CPython. %package python3 Summary: Development files for python Requires: pkgconfig %description python3 This package contains the python libraries. %prep %setup -q -n %{name}-%{version} %build export CFLAGS="%{optflags}" %{__python3} setup.py build %install rm -rf %{buildroot} %{__python3} setup.py install -O1 --skip-build --root %{buildroot} %files python3 %license LICENSE %doc README.rst %{python3_sitearch}/* %changelog * Fri Nov 12 2021 Balint Cristian - initial release