make the test check
Signed-off-by: zhuofeng <zhuofeng2@huawei.com> (cherry picked from commit a2130a0d211e734cdfe1c5e17f264a733e32ea20)
This commit is contained in:
parent
53b204fae3
commit
6690751902
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: python-ecdsa
|
Name: python-ecdsa
|
||||||
Version: 0.17.0
|
Version: 0.17.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: ECDSA cryptographic signature library
|
Summary: ECDSA cryptographic signature library
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pypi.python.org/pypi/ecdsa
|
URL: https://pypi.python.org/pypi/ecdsa
|
||||||
@ -25,6 +25,8 @@ BuildRequires: python3-devel
|
|||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-six
|
BuildRequires: python3-six
|
||||||
Requires: python3-six
|
Requires: python3-six
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
BuildRequires: python3-hypothesis
|
||||||
%{?python_provide:%python_provide python3-ecdsa}
|
%{?python_provide:%python_provide python3-ecdsa}
|
||||||
|
|
||||||
%description -n 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
|
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%_bindir/python3 setup.py test
|
%{__python3} -m pytest -v
|
||||||
|
|
||||||
%files -n python3-ecdsa
|
%files -n python3-ecdsa
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -61,6 +63,12 @@ find src/ecdsa -name \*.py | xargs sed -ie '/\/usr\/bin\/env/d'
|
|||||||
%doc NEWS README.md
|
%doc NEWS README.md
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Oct 24 2022 zhangruifang <zhangruifang1@h-partners.com> - 0.17.0-2
|
||||||
- Do not pack open-source test case files
|
- Do not pack open-source test case files
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user