rebuilt with clang to fix issue seend with certbot [release 41.0.3-2mamba;Tue Aug 15 2023]
This commit is contained in:
parent
f2951e292a
commit
1858bc033b
@ -1,6 +1,6 @@
|
||||
Name: python-cryptography
|
||||
Version: 41.0.3
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Cryptographic recipes and primitives to Python developers
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -32,7 +32,8 @@ BuildRequires: python-setuptools-rust-py310
|
||||
#%patch0 -p1
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
# https://github.com/pyca/cryptography/issues/9023
|
||||
CC=clang RUSTFLAGS+="-Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld" %{__python} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -45,21 +46,22 @@ 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
|
||||
#%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
|
||||
* Tue Aug 15 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 41.0.3-2mamba
|
||||
- rebuilt with clang to fix issue seend with certbot
|
||||
|
||||
* Wed Aug 02 2023 Automatic Build System <autodist@mambasoft.it> 41.0.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user