!86 set debug is true for build debug package and add rust to BuildRequires
From: @tong_1001 Reviewed-by: @gaoruoshu Signed-off-by: @gaoruoshu
This commit is contained in:
commit
170407dd8a
@ -1,7 +1,7 @@
|
|||||||
%global pypi_name cryptography
|
%global pypi_name cryptography
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 42.0.2
|
Version: 42.0.2
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: PyCA's cryptography library
|
Summary: PyCA's cryptography library
|
||||||
License: ASL 2.0 or BSD
|
License: ASL 2.0 or BSD
|
||||||
URL: https://cryptography.io/en/latest/
|
URL: https://cryptography.io/en/latest/
|
||||||
@ -18,7 +18,7 @@ Patch6003: backport-CVE-2024-26130.patch
|
|||||||
|
|
||||||
BuildRequires: openssl-devel cargo
|
BuildRequires: openssl-devel cargo
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: rust-packaging
|
BuildRequires: rust-packaging rust
|
||||||
|
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python%{python3_pkgversion}-pytest >= 3.2.1
|
BuildRequires: python%{python3_pkgversion}-pytest >= 3.2.1
|
||||||
@ -63,6 +63,9 @@ replace-with = "vendored-sources"
|
|||||||
|
|
||||||
[source.vendored-sources]
|
[source.vendored-sources]
|
||||||
directory = "src/rust/vendor"
|
directory = "src/rust/vendor"
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
debug = true # https://doc.rust-lang.org/rustc/codegen-options/index.html#debuginfo
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
||||||
@ -87,6 +90,10 @@ EOF
|
|||||||
%doc README.rst docs
|
%doc README.rst docs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 18 2024 shixuantong <shixuantong1@huawei.com> - 42.0.2-3
|
||||||
|
- set debug is true for build debug package
|
||||||
|
- add rust to BuildRequires
|
||||||
|
|
||||||
* Tue Feb 27 2024 shixuantong <shixuantong1@huawei.com> - 42.0.2-2
|
* Tue Feb 27 2024 shixuantong <shixuantong1@huawei.com> - 42.0.2-2
|
||||||
- fix CVE-2024-26130
|
- fix CVE-2024-26130
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user