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 "<stdin>", line 1, in <module>
  File "/usr/lib/python3.7/site-packages/dbusmock/__init__.py", line 16, in <module>
    from dbusmock.mockobject import (DBusMockObject, MOCK_IFACE,
  File "/usr/lib/python3.7/site-packages/dbusmock/mockobject.py", line 27, in <module>
    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
This commit is contained in:
Tomáš Chvátal
2020-02-04 08:22:34 +00:00
committed by Git OBS Bridge
parent 8fda4d5297
commit e5f743af82
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 4 08:18:20 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Require python-dbus-python: dbusmock can't work without this
module.
-------------------------------------------------------------------
Mon Oct 21 09:50:55 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -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