make the test check

Signed-off-by: zhuofeng <zhuofeng2@huawei.com>
(cherry picked from commit a2130a0d211e734cdfe1c5e17f264a733e32ea20)
This commit is contained in:
zhuofeng 2022-12-21 08:04:46 +00:00 committed by openeuler-sync-bot
parent 53b204fae3
commit 6690751902

View File

@ -2,7 +2,7 @@
Name: python-ecdsa
Version: 0.17.0
Release: 2
Release: 3
Summary: ECDSA cryptographic signature library
License: MIT
URL: https://pypi.python.org/pypi/ecdsa
@ -25,6 +25,8 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-six
Requires: python3-six
BuildRequires: python3-pytest
BuildRequires: python3-hypothesis
%{?python_provide:%python_provide python3-ecdsa}
%description -n python3-ecdsa
@ -47,7 +49,7 @@ find src/ecdsa -name \*.py | xargs sed -ie '/\/usr\/bin\/env/d'
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
%check
%_bindir/python3 setup.py test
%{__python3} -m pytest -v
%files -n python3-ecdsa
%defattr(-,root,root)
@ -61,6 +63,12 @@ find src/ecdsa -name \*.py | xargs sed -ie '/\/usr\/bin\/env/d'
%doc NEWS README.md
%changelog
* Wed Dec 21 2022 zhuofeng <zhuofeng2@huawei.com> - 0.17.0-3
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:make the test check
* Mon Oct 24 2022 zhangruifang <zhangruifang1@h-partners.com> - 0.17.0-2
- Do not pack open-source test case files