Name: python-py3c Version: 1.4 Release: 1mamba Summary: py3c helps you port C extensions to Python 3 Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pypi.org/project/py3c/ Source: https://github.com/encukou/py3c.git/v%{version}/py3c-%{version}.tar.bz2 #Source: https://pypi.debian.net/py3c/py3c-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: libpython-devel Requires: python >= %python_version %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n py3c-%{version} %build CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{python_inc} \ --install-lib=%{python_sitearch} \ --record=%{name}.filelist sed -i "s,.*/man/.*,&.gz," %{name}.filelist %makeinstall prefix=%{_prefix} %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %{_includedir}/py3c.h %dir %{_includedir}/py3c %{_includedir}/py3c/* %{_datadir}/pkgconfig/py3c.pc %changelog * Sat Oct 16 2021 Automatic Build System 1.4-1mamba - automatic version update by autodist * Sun Feb 21 2021 Automatic Build System 1.3.1-1mamba - automatic version update by autodist * Wed Dec 09 2020 Silvan Calarco 1.3-1mamba - package created using the webbuild interface