diff --git a/python-cryptography.spec b/python-cryptography.spec index bc6e54a..65c3f0e 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -1,6 +1,6 @@ Name: python-cryptography Version: 36.0.2 -Release: 1mamba +Release: 2mamba Summary: Cryptographic recipes and primitives to Python developers Group: System/Libraries Vendor: openmamba @@ -18,6 +18,7 @@ BuildRequires: libpython3-devel BuildRequires: python3.7dist(cffi) ## AUTOBUILDREQ-END BuildRequires: python-setuptools-rust-py3 +BuildRequires: python-setuptools-rust-py310 %description %{summary}. @@ -44,14 +45,24 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +%if "0%{with_pyver}" != "03" +# workaround for build-id file conflict +rm -f %{buildroot}%{python_sitearch}/cryptography/hazmat/bindings/_rust.abi*.so +%endif + %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %dir %{python_sitearch}/cryptography-%{version}-py*.egg-info %{python_sitearch}/cryptography-%{version}-py*.egg-info/* +%if "0%{with_pyver}" == "03" %{python_sitearch}/cryptography/hazmat/bindings/_rust.abi*.so +%endif %doc LICENSE %changelog +* Fri Apr 08 2022 Silvan Calarco 36.0.2-2mamba +- rebuilt with python 3.10 + * Wed Mar 16 2022 Automatic Build System 36.0.2-1mamba - automatic version update by autodist