From cbec2e5bad22378af2b36480e07649bdf87ada04 Mon Sep 17 00:00:00 2001 From: shixuantong Date: Fri, 26 Jul 2024 17:31:23 +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 3811bdc..05778dc 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -1,7 +1,7 @@ %global pypi_name cryptography Name: python-%{pypi_name} Version: 42.0.7 -Release: 1 +Release: 2 Summary: PyCA's cryptography library License: (Apache-2.0 OR BSD-3-Clause) AND PSF-2.0 URL: https://cryptography.io/en/latest/ @@ -32,6 +32,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 @@ -75,7 +78,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) @@ -89,6 +92,9 @@ EOF %doc README.rst docs %changelog +* Fri Jul 26 2024 shixuantong - 42.0.7-2 +- enable check + * Fri Jul 19 2024 liweigang - 42.0.7-1 - update to version 42.0.7 - license compliance rectification -- Gitee