!102 [sync] PR-101: enable check

From: @openeuler-sync-bot 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
This commit is contained in:
openeuler-ci-bot 2024-07-27 01:37:45 +00:00 committed by Gitee
commit 1ef8b96c91
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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