From 1f4b59a50f7a7577925a1557f0294edb2fff3158 Mon Sep 17 00:00:00 2001 From: shixuantong Date: Fri, 26 Jul 2024 17:34:22 +0800 Subject: [PATCH] enable check --- python-cryptography.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/python-cryptography.spec b/python-cryptography.spec index 79c7bb1..78bfaf9 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: 3 +Release: 4 Summary: PyCA's cryptography library License: ASL 2.0 or BSD URL: https://cryptography.io/en/latest/ @@ -33,6 +33,9 @@ BuildRequires: python%{python3_pkgversion}-setuptools-rust >= 1.7.0 BuildRequires: python%{python3_pkgversion}-wheel BuildRequires: python3-pip BuildRequires: python3-pytest-subtests +BuildRequires: python3-pytest-benchmark +BuildRequires: python3-certifi +BuildRequires: python3-bcrypt %description cryptography is a package designed to expose cryptographic primitives and @@ -76,7 +79,7 @@ EOF %pyproject_install %check -#PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest --ignore vendor +PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest --ignore vendor %files -n python%{python3_pkgversion}-%{pypi_name} %defattr(-,root,root) @@ -90,6 +93,9 @@ EOF %doc README.rst docs %changelog +* Fri Jul 26 2024 shixuantong - 42.0.2-4 +- enable check + * Thu Apr 18 2024 shixuantong - 42.0.2-3 - set debug is true for build debug package - add rust to BuildRequires -- Gitee