From f81892f7a9a0371689d7dca70c8772e60cefa6b906060ef1ec942c47d760ca32 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Sun, 2 Jul 2023 18:31:58 +0000 Subject: [PATCH 1/2] Accepting request 1096415 from home:ecsos:python - Add %{?sle15_python_module_pythons} OBS-URL: https://build.opensuse.org/request/show/1096415 OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio-tools?expand=0&rev=41 --- python-grpcio-tools.changes | 5 +++++ python-grpcio-tools.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-grpcio-tools.changes b/python-grpcio-tools.changes index 8ba768e..ac92c98 100644 --- a/python-grpcio-tools.changes +++ b/python-grpcio-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jul 2 12:33:48 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Fri Jun 30 15:49:31 UTC 2023 - Atri Bhattacharya diff --git a/python-grpcio-tools.spec b/python-grpcio-tools.spec index ab45366..49f65c7 100644 --- a/python-grpcio-tools.spec +++ b/python-grpcio-tools.spec @@ -18,7 +18,7 @@ # PYTHON2 NOT SUPPORTED BY UPSTREAM %define skip_python2 1 - +%{?sle15_python_module_pythons} Name: python-grpcio-tools Version: 1.56.0 Release: 0 @@ -27,7 +27,7 @@ License: Apache-2.0 Group: Development/Languages/Python URL: https://grpc.io Source: https://files.pythonhosted.org/packages/source/g/grpcio-tools/grpcio-tools-%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: gcc-c++ From 975da00bed7386e06380d1d2ad270197768ff4a86b5c36afd8a0a0676906272f Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Tue, 4 Jul 2023 10:40:41 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio-tools?expand=0&rev=43 --- python-grpcio-tools.changes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-grpcio-tools.changes b/python-grpcio-tools.changes index ac92c98..a3e6501 100644 --- a/python-grpcio-tools.changes +++ b/python-grpcio-tools.changes @@ -2,6 +2,8 @@ Sun Jul 2 12:33:48 UTC 2023 - ecsos - Add %{?sle15_python_module_pythons} +- Upstream only supports python >= 3.7, so adjust BuildRequires + accordingly. ------------------------------------------------------------------- Fri Jun 30 15:49:31 UTC 2023 - Atri Bhattacharya