diff --git a/python-cffi.spec b/python-cffi.spec index f86a39d..f012487 100644 --- a/python-cffi.spec +++ b/python-cffi.spec @@ -1,6 +1,6 @@ Name: python-cffi Version: 1.15.0 -Release: 1mamba +Release: 2mamba Summary: Foreign Function Interface for Python calling C code Group: System/Libraries Vendor: openmamba @@ -15,33 +15,12 @@ BuildRequires: libffi-devel BuildRequires: libpython3-devel BuildRequires: python3.7dist(pycparser) ## AUTOBUILDREQ-END -BuildRequires: libpython3-devel >= 3.7.4 -Requires: python >= %python_version -Requires: python-pycparser %description %{summary}. -%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}. +%if 0%{?with_pyver} +%pyver_package %endif %prep @@ -71,6 +50,9 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %{python_sitearch}/cffi-%{version}-py*.egg-info/* %changelog +* Fri Apr 08 2022 Silvan Calarco 1.15.0-2mamba +- rebuilt with python 3.10 + * Thu Oct 14 2021 Automatic Build System 1.15.0-1mamba - automatic version update by autodist