From fbaa33948de5da534c22b1011b44fb9a11685961dad7ecfd203d1bbfeff96b40 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 13 May 2025 03:29:30 +0000 Subject: [PATCH] - BuildRequire testsuite, drop pwd PYTHONPATH. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stone?expand=0&rev=3 --- python-stone.changes | 5 +++++ python-stone.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-stone.changes b/python-stone.changes index 6fde269..2e211a9 100644 --- a/python-stone.changes +++ b/python-stone.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 13 03:29:18 UTC 2025 - Steve Kowalik + +- BuildRequire testsuite, drop pwd PYTHONPATH. + ------------------------------------------------------------------- Tue May 6 13:58:31 UTC 2025 - Markéta Machová diff --git a/python-stone.spec b/python-stone.spec index 8bddfc4..597a1de 100644 --- a/python-stone.spec +++ b/python-stone.spec @@ -25,22 +25,23 @@ URL: https://github.com/dropbox/stone Source: https://github.com/dropbox/stone/archive/refs/tags/v%{version}.tar.gz#/stone-%{version}.tar.gz # PATCH-FIX-UPSTREAM https://github.com/dropbox/stone/pull/318 remove dependency on six Patch: remove-six.patch -BuildRequires: python-rpm-macros BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module Jinja2 >= 3.0.3} BuildRequires: %{python_module packaging >= 21.0} BuildRequires: %{python_module ply >= 3.4} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module testsuite} # /SECTION BuildRequires: fdupes Requires: python-Jinja2 >= 3.0.3 Requires: python-packaging >= 21.0 Requires: python-ply >= 3.4 Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -59,7 +60,6 @@ Stone is an interface description language (IDL) for APIs. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -export PYTHONPATH=. %pytest %post