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