py3* packages: require python-pycparser-py3* [release 1.14.0-2mamba;Sat Apr 11 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 10:56:48 +01:00
parent 34cba4be56
commit 64e2dbd6d6

View File

@ -1,6 +1,6 @@
Name: python-cffi
Version: 1.14.0
Release: 1mamba
Release: 2mamba
Summary: Foreign Function Interface for Python calling C code
Group: System/Libraries
Vendor: openmamba
@ -20,8 +20,26 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%if "%{?with_pyver}"
%pyver_package
%if "%?with_pyver"
%define pyver %{with_pyver}
%define pyappend py%{with_pyver}
%define __python %(rpm --eval %{__python%{with_pyver}})
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
%define python_version %(rpm --eval %{python%{with_pyver}_version})
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
%package py%{pyver}
Group: System/Libraries/Python
Summary: %{summary}
Requires: python-pycparser-%{?pyappend}
%py_requires
%description py%{pyver}
%{summary}.
%endif
%prep
@ -47,6 +65,9 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%{python_sitearch}/cffi-%{version}-py*.egg-info/*
%changelog
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.0-2mamba
- py3* packages: require python-pycparser-py3*
* Fri Feb 14 2020 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
- automatic version update by autodist