From e50345d5e7400be5c40af8d1fe01f61c4153c5793fd9331a70f0cc8de32973da Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 26 Mar 2025 04:16:13 +0000 Subject: [PATCH] - Normalize metadata directory name. - Run the testsuite. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cPyparsing?expand=0&rev=29 --- python-cPyparsing.changes | 6 ++++++ python-cPyparsing.spec | 8 +++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/python-cPyparsing.changes b/python-cPyparsing.changes index 4b9b8dd..6beeb9c 100644 --- a/python-cPyparsing.changes +++ b/python-cPyparsing.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 26 04:15:45 UTC 2025 - Steve Kowalik + +- Normalize metadata directory name. +- Run the testsuite. + ------------------------------------------------------------------- Wed Jan 3 10:05:58 UTC 2024 - Dirk Müller diff --git a/python-cPyparsing.spec b/python-cPyparsing.spec index f37e745..a29cd10 100644 --- a/python-cPyparsing.spec +++ b/python-cPyparsing.spec @@ -1,7 +1,7 @@ # # spec file for package python-cPyparsing # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,13 +16,11 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cPyparsing Version: 2.4.7.2.3.2 Release: 0 Summary: Cython implementation of PyParsing License: Apache-2.0 -Group: Development/Languages/Python URL: https://github.com/evhub/cpyparsing Source: https://files.pythonhosted.org/packages/source/c/cPyparsing/cPyparsing-%{version}.tar.gz BuildRequires: %{python_module Cython} @@ -49,12 +47,12 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -# no tests in PyPi tarball and no release tags in GitHub repo https://github.com/evhub/cpyparsing/issues/3 +%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python ./tests/cPyparsing_test.py %files %{python_files} %doc README.md %license LICENSE.txt %{python_sitearch}/cPyparsing.cpython-*-*-linux-gnu.so -%{python_sitearch}/cPyparsing-%{version}.dist-info +%{python_sitearch}/cpyparsing-%{version}.dist-info %changelog