enable check
(cherry picked from commit 1f4b59a50f7a7577925a1557f0294edb2fff3158)
This commit is contained in:
parent
170407dd8a
commit
336ad97c8a
@ -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 <shixuantong1@huawei.com> - 42.0.2-4
|
||||
- enable check
|
||||
|
||||
* Thu Apr 18 2024 shixuantong <shixuantong1@huawei.com> - 42.0.2-3
|
||||
- set debug is true for build debug package
|
||||
- add rust to BuildRequires
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user