From e88132fb0d308884f621e087b06ba865fef5ce1eaaae90a02e6138732b58ca6e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 7 Dec 2023 09:06:58 +0000 Subject: [PATCH] - switch to %{?sle15_python_module_pythons} for SLE15 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-tornasync?expand=0&rev=3 --- python-pytest-tornasync.changes | 5 +++++ python-pytest-tornasync.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-pytest-tornasync.changes b/python-pytest-tornasync.changes index db0f256..eb4fb19 100644 --- a/python-pytest-tornasync.changes +++ b/python-pytest-tornasync.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 7 09:06:17 UTC 2023 - Dirk Müller + +- switch to %{?sle15_python_module_pythons} for SLE15 + ------------------------------------------------------------------- Wed Jan 15 19:48:54 UTC 2020 - Todd R diff --git a/python-pytest-tornasync.spec b/python-pytest-tornasync.spec index 5b967ae..5297083 100644 --- a/python-pytest-tornasync.spec +++ b/python-pytest-tornasync.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-tornasync # -# Copyright (c) 2020 SUSE LLC. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,22 +12,22 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-pytest-tornasync Version: 0.6.0.post2 Release: 0 License: MIT Summary: PyTest plugin for testing Tornado code -Url: https://github.com/eukaryote/pytest-tornasync +URL: https://github.com/eukaryote/pytest-tornasync Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/p/pytest-tornasync/pytest-tornasync-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module base >= 3.5} BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest} BuildRequires: %{python_module tornado >= 5.0}