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
|
Name: python-cryptography
|
||||||
Version: 41.0.3
|
Version: 41.0.3
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Cryptographic recipes and primitives to Python developers
|
Summary: Cryptographic recipes and primitives to Python developers
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -32,7 +32,8 @@ BuildRequires: python-setuptools-rust-py310
|
|||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
|
|
||||||
%build
|
%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
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -45,21 +46,22 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
%if "0%{with_pyver}" != "03"
|
#%if "0%{with_pyver}" != "03"
|
||||||
# workaround for build-id file conflict
|
## workaround for build-id file conflict
|
||||||
rm -f %{buildroot}%{python_sitearch}/cryptography/hazmat/bindings/_rust.abi*.so
|
#rm -f %{buildroot}%{python_sitearch}/cryptography/hazmat/bindings/_rust.abi*.so
|
||||||
%endif
|
#%endif
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python_sitearch}/cryptography-%{version}-py*.egg-info
|
%dir %{python_sitearch}/cryptography-%{version}-py*.egg-info
|
||||||
%{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
|
%{python_sitearch}/cryptography/hazmat/bindings/_rust.abi*.so
|
||||||
%endif
|
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Aug 02 2023 Automatic Build System <autodist@mambasoft.it> 41.0.3-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user