Include fix to exclude Cargo.toml from wheels
Merged upstream at https://github.com/pyca/cryptography/pull/12091 [skip changelog]
This commit is contained in:
parent
83987f70ef
commit
78a1779124
4 changed files with 39 additions and 62 deletions
|
|
@ -19,6 +19,10 @@ Source0: https://github.com/pyca/cryptography/archive/%{version}/%{srcnam
|
|||
Source1: cryptography-%{version}-vendor.tar.bz2
|
||||
Source2: conftest-skipper.py
|
||||
|
||||
# Merged for 45.0.0+
|
||||
# https://github.com/pyca/cryptography/pull/12091
|
||||
Patch: 12091.patch
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: openssl-devel
|
||||
|
|
@ -102,6 +106,7 @@ export CFLAGS="${CFLAGS} -DOPENSSL_NO_ENGINE=1 "
|
|||
# Actually other *.c and *.h are appropriate
|
||||
# see https://github.com/pyca/cryptography/issues/1463
|
||||
find . -name .keep -print -delete
|
||||
find . -name Cargo.toml -print -delete
|
||||
%pyproject_install
|
||||
%pyproject_save_files %{srcname}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue