enable check

(cherry picked from commit 1f4b59a50f7a7577925a1557f0294edb2fff3158)
This commit is contained in:
shixuantong 2024-07-26 17:34:22 +08:00 committed by openeuler-sync-bot
parent 170407dd8a
commit 336ad97c8a

View File

@ -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: 3 Release: 4
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/
@ -33,6 +33,9 @@ BuildRequires: python%{python3_pkgversion}-setuptools-rust >= 1.7.0
BuildRequires: python%{python3_pkgversion}-wheel BuildRequires: python%{python3_pkgversion}-wheel
BuildRequires: python3-pip BuildRequires: python3-pip
BuildRequires: python3-pytest-subtests BuildRequires: python3-pytest-subtests
BuildRequires: python3-pytest-benchmark
BuildRequires: python3-certifi
BuildRequires: python3-bcrypt
%description %description
cryptography is a package designed to expose cryptographic primitives and cryptography is a package designed to expose cryptographic primitives and
@ -76,7 +79,7 @@ EOF
%pyproject_install %pyproject_install
%check %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} %files -n python%{python3_pkgversion}-%{pypi_name}
%defattr(-,root,root) %defattr(-,root,root)
@ -90,6 +93,9 @@ EOF
%doc README.rst docs %doc README.rst docs
%changelog %changelog
* Fri Jul 26 2024 shixuantong <shixuantong1@huawei.com> - 42.0.2-4
- enable check
* Thu Apr 18 2024 shixuantong <shixuantong1@huawei.com> - 42.0.2-3 * Thu Apr 18 2024 shixuantong <shixuantong1@huawei.com> - 42.0.2-3
- set debug is true for build debug package - set debug is true for build debug package
- add rust to BuildRequires - add rust to BuildRequires