From e5f743af824a53c603e4fcc67a300b50634b81902ee432150d1f61ddfd53ca66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 4 Feb 2020 08:22:34 +0000 Subject: [PATCH] Accepting request 769868 from home:dimstar:Factory - Require python-dbus-python: dbusmock can't work without this module. without this, you get: ``` > python3 Python 3.7.3 (default, Apr 09 2019, 05:18:21) [GCC] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import dbusmock Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.7/site-packages/dbusmock/__init__.py", line 16, in from dbusmock.mockobject import (DBusMockObject, MOCK_IFACE, File "/usr/lib/python3.7/site-packages/dbusmock/mockobject.py", line 27, in import dbus ModuleNotFoundError: No module named 'dbus' ``` OBS-URL: https://build.opensuse.org/request/show/769868 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dbusmock?expand=0&rev=13 --- python-python-dbusmock.changes | 6 ++++++ python-python-dbusmock.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-python-dbusmock.changes b/python-python-dbusmock.changes index 3e21fc7..5bdf079 100644 --- a/python-python-dbusmock.changes +++ b/python-python-dbusmock.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 4 08:18:20 UTC 2020 - Dominique Leuenberger + +- Require python-dbus-python: dbusmock can't work without this + module. + ------------------------------------------------------------------- Mon Oct 21 09:50:55 UTC 2019 - Tomáš Chvátal diff --git a/python-python-dbusmock.spec b/python-python-dbusmock.spec index 60b9363..173a283 100644 --- a/python-python-dbusmock.spec +++ b/python-python-dbusmock.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-dbusmock # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,6 +33,7 @@ BuildRequires: python-rpm-macros BuildRequires: pkgconfig(gobject-introspection-1.0) Requires: dbus-1-python Requires: dbus-1-x11 +Requires: python-dbus-python Requires: python-gobject Provides: python-dbusmock = %{version} BuildArch: noarch