diff --git a/python-cryptography.spec b/python-cryptography.spec index f9a1d541ab2e2960f680a67b8387f38fb475286a..79c7bb1339c691fc18ac4690c12fc13a6c006462 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -1,7 +1,7 @@ %global pypi_name cryptography Name: python-%{pypi_name} Version: 42.0.2 -Release: 2 +Release: 3 Summary: PyCA's cryptography library License: ASL 2.0 or BSD URL: https://cryptography.io/en/latest/ @@ -18,7 +18,7 @@ Patch6003: backport-CVE-2024-26130.patch BuildRequires: openssl-devel cargo BuildRequires: gcc -BuildRequires: rust-packaging +BuildRequires: rust-packaging rust BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-pytest >= 3.2.1 @@ -63,6 +63,9 @@ replace-with = "vendored-sources" [source.vendored-sources] directory = "src/rust/vendor" + +[profile.release] +debug = true # https://doc.rust-lang.org/rustc/codegen-options/index.html#debuginfo EOF @@ -87,6 +90,10 @@ EOF %doc README.rst docs %changelog +* Thu Apr 18 2024 shixuantong - 42.0.2-3 +- set debug is true for build debug package +- add rust to BuildRequires + * Tue Feb 27 2024 shixuantong - 42.0.2-2 - fix CVE-2024-26130