Accepting request 507570 from devel:languages:python

- Fix build for Leap 42.3, which does not have a singlespec version
  of python-dbus (boo#1046811).

I'd like to submit this to Leap:42.3 as soon as it's get to Factory.

OBS-URL: https://build.opensuse.org/request/show/507570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-notify2?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2017-07-02 11:38:46 +00:00 committed by Git OBS Bridge
commit 5e858cc581
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jul 2 09:11:09 UTC 2017 - antoine.belvire@opensuse.org
- Fix build for Leap 42.3, which does not have a singlespec version
of python-dbus (boo#1046811).
-------------------------------------------------------------------
Sat May 6 11:32:19 UTC 2017 - antoine.belvire@opensuse.org

View File

@ -25,7 +25,12 @@ License: BSD-2-Clause
Group: Development/Languages/Python
Url: https://pypi.python.org/pypi/notify2/
Source: https://pypi.io/packages/source/n/notify2/notify2-%{version}.tar.gz
%if 0%{suse_version} <= 1315
BuildRequires: dbus-1-python
BuildRequires: dbus-1-python3
%else
BuildRequires: %{python_module dbus-python}
%endif
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros