diff --git a/python-grpcio-tools.changes b/python-grpcio-tools.changes index 8ba768e..a3e6501 100644 --- a/python-grpcio-tools.changes +++ b/python-grpcio-tools.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 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++