From a205d1b8774db245c63eb7480379be57042fd97a Mon Sep 17 00:00:00 2001 From: markeryang Date: Sat, 27 May 2023 10:19:05 +0000 Subject: [PATCH] enable check (cherry picked from commit e7915fb4f4096f423515d48d7469e8cdbbe17cf4) --- pyparsing.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pyparsing.spec b/pyparsing.spec index 60355dc..1006c3a 100644 --- a/pyparsing.spec +++ b/pyparsing.spec @@ -1,13 +1,13 @@ Name: pyparsing Version: 3.0.6 -Release: 2 +Release: 3 Summary: A Python Parsing Module License: MIT URL: https://github.com/pyparsing/pyparsing/ Source0: https://github.com/pyparsing/pyparsing/releases/download/pyparsing_%{version}/pyparsing-%{version}.tar.gz BuildArch: noarch -BuildRequires: dos2unix python3-devel python3-setuptools +BuildRequires: dos2unix python3-devel python3-setuptools python3-tox python3-coverage BuildRequires: python%{python3_pkgversion}-pip python%{python3_pkgversion}-wheel %description @@ -47,6 +47,9 @@ dos2unix -k CHANGES LICENSE %install %py3_install_wheel pyparsing-%{version}-py3-none-any.whl +%check +%{__python3} tests/test_simple_unit.py + %pre %preun @@ -65,6 +68,9 @@ dos2unix -k CHANGES LICENSE %doc CHANGES README.rst docs examples %changelog +* Sat May 27 2023 yanglongkang - 3.0.6-3 +- enable check + * Tue Oct 25 2022 zhuofeng - 3.0.6-2 - Rebuild for next release -- Gitee