From 5355b550dfc03c16530019ffc166b0209ea27b88cecf64671f3f4633e3df407f Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dmueller@suse.com>
Date: Fri, 21 Apr 2023 14:57:33 +0000
Subject: [PATCH] Accepting request 1081336 from
 home:dirkmueller:acdc:as_python3_module

SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081336
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-async_generator?expand=0&rev=11
---
 python-async_generator.changes | 10 ++++++++++
 python-async_generator.spec    |  5 +++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/python-async_generator.changes b/python-async_generator.changes
index 50a0043..f0fcd9e 100644
--- a/python-async_generator.changes
+++ b/python-async_generator.changes
@@ -1,3 +1,13 @@
+-------------------------------------------------------------------
+Fri Apr 21 12:22:18 UTC 2023 - Dirk Müller <dmueller@suse.com>
+
+- add sle15_python_module_pythons (jsc#PED-68)
+
+-------------------------------------------------------------------
+Thu Apr 13 22:40:06 UTC 2023 - Matej Cepl <mcepl@suse.com>
+
+- Make calling of %{sle15modernpython} optional.
+
 -------------------------------------------------------------------
 Wed Dec  2 20:25:50 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
 
diff --git a/python-async_generator.spec b/python-async_generator.spec
index 492b469..41aed5f 100644
--- a/python-async_generator.spec
+++ b/python-async_generator.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package python-async_generator
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -18,11 +18,12 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
+%{?sle15_python_module_pythons}
 Name:           python-async_generator
 Version:        1.10
 Release:        0
 Summary:        Async generators and context managers for Python 3.5+
-License:        MIT OR Apache-2.0
+License:        Apache-2.0 OR MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/python-trio/async_generator
 Source:         https://files.pythonhosted.org/packages/source/a/async_generator/async_generator-%{version}.tar.gz