From a259ab2c989e3f38afd8907a9c7af59cd306c5949f4fa1d95d2c1efb4efa7ed4 Mon Sep 17 00:00:00 2001
From: Matej Cepl <mcepl@suse.com>
Date: Sun, 23 Apr 2023 01:36:11 +0000
Subject: [PATCH] Accepting request 1082222 from
 home:dirkmueller:acdc:as_python3_module

- add sle15_python_module_pythons (jsc#PED-68)

OBS-URL: https://build.opensuse.org/request/show/1082222
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-langdetect?expand=0&rev=7
---
 python-langdetect.changes | 5 +++++
 python-langdetect.spec    | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/python-langdetect.changes b/python-langdetect.changes
index 7dfe2e7..7611cfd 100644
--- a/python-langdetect.changes
+++ b/python-langdetect.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Fri Apr 21 12:27:46 UTC 2023 - Dirk Müller <dmueller@suse.com>
+
+- add sle15_python_module_pythons (jsc#PED-68)
+
 -------------------------------------------------------------------
 Tue May 25 09:19:03 UTC 2021 - pgajdos@suse.com
 
diff --git a/python-langdetect.spec b/python-langdetect.spec
index 3843e83..5d68fd0 100644
--- a/python-langdetect.spec
+++ b/python-langdetect.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package python-langdetect
 #
-# Copyright (c) 2021 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
@@ -16,7 +16,7 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
 Name:           python-langdetect
 Version:        1.0.9
 Release:        0