!16 [sync] PR-14: make the test check
From: @openeuler-sync-bot Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
196d201966
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user