8
0

4 Commits

2 changed files with 19 additions and 7 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jan 16 10:02:43 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Rearrange requirements, run only basic testsuite in SLE-based projects
-------------------------------------------------------------------
Thu Jun 1 20:36:20 UTC 2023 - Dirk Müller <dmueller@suse.com>
- use python3 module python for sle15
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 5 14:22:43 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri May 5 14:22:43 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file # spec file
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# Copyright (c) 2013 LISA GmbH, Bingen, Germany. # Copyright (c) 2013 LISA GmbH, Bingen, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -17,7 +17,6 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%define psuffix -test %define psuffix -test
@@ -26,6 +25,7 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%{?sle15_python_module_pythons}
Name: python-zope.component%{psuffix} Name: python-zope.component%{psuffix}
Version: 6.0 Version: 6.0
Release: 0 Release: 0
@@ -42,15 +42,17 @@ Requires: python-zope.hookable >= 4.2.0
Requires: python-zope.interface >= 5.3.0a1 Requires: python-zope.interface >= 5.3.0a1
#test requirements #test requirements
%if %{with test} %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 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.location}
BuildRequires: %{python_module zope.proxy} BuildRequires: %{python_module zope.proxy}
BuildRequires: %{python_module zope.security} BuildRequires: %{python_module zope.security}
BuildRequires: %{python_module zope.testing} %endif
BuildRequires: %{python_module zope.testrunner}
%endif %endif
%python_subpackages %python_subpackages