From ad79c561f87e1359b11ac25a37d3be6bff34163ce41440273d97270e2b24210b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 17 Jan 2024 07:22:50 +0000 Subject: [PATCH] Accepting request 1139131 from home:mcalabkova:branches:openSUSE:Backports:SLE-15-SP6:mailman - Rearrange requirements, run only basic testsuite in SLE-based projects OBS-URL: https://build.opensuse.org/request/show/1139131 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.component?expand=0&rev=24 --- python-zope.component.changes | 5 +++++ python-zope.component.spec | 14 ++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/python-zope.component.changes b/python-zope.component.changes index 1464035..810dfb1 100644 --- a/python-zope.component.changes +++ b/python-zope.component.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 16 10:02:43 UTC 2024 - Markéta Machová + +- Rearrange requirements, run only basic testsuite in SLE-based projects + ------------------------------------------------------------------- Thu Jun 1 20:36:20 UTC 2023 - Dirk Müller diff --git a/python-zope.component.spec b/python-zope.component.spec index 49a9321..55f12f7 100644 --- a/python-zope.component.spec +++ b/python-zope.component.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2013 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -42,15 +42,17 @@ Requires: python-zope.hookable >= 4.2.0 Requires: python-zope.interface >= 5.3.0a1 #test requirements %if %{with test} +BuildRequires: %{python_module zope.component = %{version}} +BuildRequires: %{python_module zope.configuration} +BuildRequires: %{python_module zope.testing} +BuildRequires: %{python_module zope.testrunner} +%if 0%{?suse_version} >= 1600 +# run complete testsuite on Tumbleweed BuildRequires: %{python_module persistent} -BuildRequires: %{python_module zope.deferredimport} -BuildRequires: %{python_module zope.hookable} -BuildRequires: %{python_module zope.interface} BuildRequires: %{python_module zope.location} BuildRequires: %{python_module zope.proxy} BuildRequires: %{python_module zope.security} -BuildRequires: %{python_module zope.testing} -BuildRequires: %{python_module zope.testrunner} +%endif %endif %python_subpackages