From 451bcc4b208579c306fa6bba3169001feddaf38d22c9cd5bba80cad56c91a612 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 15 Jun 2020 08:16:10 +0000 Subject: [PATCH] Accepting request 814648 from home:Rotkraut:branches:openSUSE:Factory - Python: Add requirement on python-six The Python subpackages python2-protobuf and python3-protobuf depend on python2-six and python3-six respectively: $ python3 Python 3.6.10 (default, Jan 16 2020, 09:12:04) [GCC] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import google.protobuf.descriptor Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.6/site-packages/google/protobuf/descriptor.py", line 38, in import six ModuleNotFoundError: No module named 'six' >>> OBS-URL: https://build.opensuse.org/request/show/814648 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=92 --- protobuf.changes | 5 +++++ protobuf.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/protobuf.changes b/protobuf.changes index 633582c..0cb18a4 100644 --- a/protobuf.changes +++ b/protobuf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 10 15:32:29 UTC 2020 - Rolf Krahl + +- Python: Add requirement on python-six + ------------------------------------------------------------------- Fri Mar 6 10:05:22 UTC 2020 - Nico Kruber diff --git a/protobuf.spec b/protobuf.spec index 2f58b9f..d565aa7 100644 --- a/protobuf.spec +++ b/protobuf.spec @@ -129,6 +129,7 @@ Summary: Python2 Bindings for Google Protocol Buffers Group: Development/Libraries/Python Provides: python-%{name} = %{version} Obsoletes: python-%{name} < %{version} +Requires: python2-six >= 1.9 %description -n python2-%{name} This package contains the Python bindings for Google Protocol Buffers. @@ -136,6 +137,7 @@ This package contains the Python bindings for Google Protocol Buffers. %package -n python3-%{name} Summary: Python3 Bindings for Google Protocol Buffers Group: Development/Libraries/Python +Requires: python3-six >= 1.9 %description -n python3-%{name} This package contains the Python bindings for Google Protocol Buffers.