From 5bd67678dd53ebbe1269e1f6973a75572a823777 Mon Sep 17 00:00:00 2001 From: Shuo Wang Date: Wed, 29 May 2024 14:25:36 +0800 Subject: [PATCH] enable %check Signed-off-by: Shuo Wang --- python-voluptuous.spec | 12 +++++++++--- sources | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-voluptuous.spec b/python-voluptuous.spec index a0c024f..580871e 100644 --- a/python-voluptuous.spec +++ b/python-voluptuous.spec @@ -3,10 +3,10 @@ Summary: Python data validation library Name: python-%{srcname} Version: 0.13.1 -Release: 5%{?dist} +Release: 6%{?dist} License: BSD -URL: http://github.com/alecthomas/voluptuous -Source0: %{pypi_source} +URL: https://github.com/alecthomas/voluptuous +Source0: %{url}/archive/refs/tags/%{version}.tar.gz BuildArch: noarch %description @@ -16,6 +16,7 @@ Voluptuous, despite the name, is a Python data validation library. %package -n python3-%{srcname} Summary: Python data validation library BuildRequires: python3-devel python3-setuptools +BuildRequires: python3-pytest %description -n python3-%{srcname} Voluptuous, despite the name, is a Python data validation library. It is @@ -33,6 +34,8 @@ primarily intended for validating data coming into Python as JSON, YAML, etc. %install %py3_install +%check +%pytest %files -n python3-%{srcname} %license COPYING @@ -42,6 +45,9 @@ primarily intended for validating data coming into Python as JSON, YAML, etc. %changelog +* Wed May 29 2024 Shuo Wang - 0.13.1-6 +- enable %check + * Tue Sep 19 2023 OpenCloudOS Release Engineering - 0.13.1-5 - Rebuilt for python 3.11 diff --git a/sources b/sources index 797e91d..d370f53 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (voluptuous-0.13.1.tar.gz) = c81867ee9f95d7104a5491b35d3fe050250f80b46b2633ce72996aba32b33d043ad5ca36b6c03cd12284db2962d551b1fb0fd82682f8740a01742b907bb692cf +SHA512 (0.13.1.tar.gz) = 874960bdd3fce213e46f8017fbc56ede02133de6f8cb439d810db38ca06d9c5fcf5496150ef4c73fd19d9e06489ba08a510fd96aa16b8825564a52fd01cc3f4f -- Gitee