From a2130a0d211e734cdfe1c5e17f264a733e32ea20 Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Wed, 21 Dec 2022 08:04:46 +0000 Subject: [PATCH] make the test check Signed-off-by: zhuofeng --- python-ecdsa.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/python-ecdsa.spec b/python-ecdsa.spec index 993de6e..86ead77 100644 --- a/python-ecdsa.spec +++ b/python-ecdsa.spec @@ -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 - 0.17.0-3 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:make the test check + * Mon Oct 24 2022 zhangruifang - 0.17.0-2 - Do not pack open-source test case files -- Gitee