Build with ouroboros 0.17, fixes rhbz#2214228 / RUSTSEC-2023-0042
This commit is contained in:
parent
bd9ff8df3f
commit
f238d21253
2 changed files with 16 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ Source1: cryptography-%{version}-vendor.tar.bz2
|
|||
Source2: conftest-skipper.py
|
||||
|
||||
Patch1: pyo3-0.19.patch
|
||||
Patch2: ouroboros-0.17.patch
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
|
|
@ -73,8 +74,9 @@ recipes to Python developers.
|
|||
%prep
|
||||
%autosetup -p1 -N -n %{srcname}-%{version}
|
||||
%if 0%{?fedora}
|
||||
# patch pyo3 depedency
|
||||
# patch pyo3 and ouroboros depedency
|
||||
%autopatch -p1 1
|
||||
%autopatch -p1 2
|
||||
%cargo_prep
|
||||
rm src/rust/Cargo.lock
|
||||
%else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue