From b718af7549e55c6ffc7aa1063ca18ace302fc09a Mon Sep 17 00:00:00 2001 From: zoujiancang Date: Wed, 6 Sep 2023 15:03:44 +0800 Subject: [PATCH] Add check for the pkg spec --- python-shapely.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/python-shapely.spec b/python-shapely.spec index ad723e0..6f2fbef 100644 --- a/python-shapely.spec +++ b/python-shapely.spec @@ -3,7 +3,7 @@ Name: python-%{pypi_name} Version: 2.0.1 -Release: 1 +Release: 2 Summary: Shapely is a BSD-licensed Python package for manipulation and analysis of planar geometric objects. License: BSD 3-Clause @@ -21,6 +21,8 @@ BuildRequires: python3-Cython BuildRequires: python3-numpy BuildRequires: gcc BuildRequires: geos-devel +BuildRequires: python3-pytest +BuildRequires: python3-shapely %description Shapely is a BSD-licensed Python package for manipulation and analysis of planar geometric objects. @@ -42,6 +44,9 @@ find shapely -type f -name '*.c' -print -delete %install %pyproject_install +%check +%pytest + %files -n python3-%{pypi_name} %doc README.rst %license LICENSE.txt @@ -50,6 +55,9 @@ find shapely -type f -name '*.c' -print -delete %changelog +* Wed Sep 6 2023 zoujiancang - 2.0.1-2 +- Add check for the pkg + * Tue Aug 22 2023 zoujiancang - 2.0.1-1 - Initial package -- Gitee