File project.diff of Package python-mypy-protobuf
--- python-mypy-protobuf.spec.orig
+++ python-mypy-protobuf.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-mypy-protobuf
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,6 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
+%{?sle15_python_module_pythons}
Name: python-mypy-protobuf
Version: 3.2.0
Release: 0
@@ -26,8 +27,8 @@ Summary: Generate mypy stub files
License: MIT
URL: https://github.com/nipunn1313/mypy-protobuf
Source: https://github.com/nipunn1313/mypy-protobuf/archive/refs/tags/v%{version}.tar.gz#/mypy-protobuf-%{version}.tar.gz
-BuildRequires: %{python_module mypy}
BuildRequires: %{python_module grpcio}
+BuildRequires: %{python_module mypy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module protobuf >= 3.19.4}
BuildRequires: %{python_module pytest}
@@ -38,7 +39,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-protobuf
BuildArch: noarch
-Requires(post): update-alternatives
+Requires(post): update-alternatives
Requires(postun): update-alternatives
%python_subpackages