From c03ef3009719d06bd334aa42fac9a446e4c086a08922c72a7a4b3d8785122215 Mon Sep 17 00:00:00 2001 From: Antoine Belvire Date: Fri, 11 Dec 2020 17:12:23 +0000 Subject: [PATCH] Accepting request 854949 from home:bnavigator:branches:devel:languages:python - Fix Requires of dbus-python so that the macros can work out the correct flavor for multiple python3 flavors gh#openSUSE/python-rpm-macros#66 OBS-URL: https://build.opensuse.org/request/show/854949 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-notify2?expand=0&rev=11 --- python-notify2.changes | 7 +++++++ python-notify2.spec | 10 ++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-notify2.changes b/python-notify2.changes index 2420d43..3f36967 100644 --- a/python-notify2.changes +++ b/python-notify2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Dec 11 16:00:15 UTC 2020 - Benjamin Greiner + +- Fix Requires of dbus-python so that the macros can work out the + correct flavor for multiple python3 flavors + gh#openSUSE/python-rpm-macros#66 + ------------------------------------------------------------------- Mon Dec 10 12:53:58 UTC 2018 - Tomáš Chvátal diff --git a/python-notify2.spec b/python-notify2.spec index 41de768..9bd280f 100644 --- a/python-notify2.spec +++ b/python-notify2.spec @@ -30,11 +30,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch -%ifpython3 -Requires: dbus-1-python3 -%else -Requires: dbus-1-python -%endif +Requires: python-dbus-python %python_subpackages %description @@ -55,6 +51,8 @@ applications. %files %{python_files} %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/notify2.py* +%pycache_only %{python_sitelib}/__pycache__/notify2* +%{python_sitelib}/notify2-%{version}-*info %changelog