py3* packages: require python-pycparser-py3* [release 1.14.0-2mamba;Sat Apr 11 2020]
This commit is contained in:
parent
34cba4be56
commit
64e2dbd6d6
@ -1,6 +1,6 @@
|
|||||||
Name: python-cffi
|
Name: python-cffi
|
||||||
Version: 1.14.0
|
Version: 1.14.0
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Foreign Function Interface for Python calling C code
|
Summary: Foreign Function Interface for Python calling C code
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -20,8 +20,26 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%if "%{?with_pyver}"
|
%if "%?with_pyver"
|
||||||
%pyver_package
|
%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
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -47,6 +65,9 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|||||||
%{python_sitearch}/cffi-%{version}-py*.egg-info/*
|
%{python_sitearch}/cffi-%{version}-py*.egg-info/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Feb 14 2020 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user