Hello community,
here is the log from the commit of package python-notify2 for openSUSE:Factory checked in at 2019-01-03 18:06:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-notify2 (Old)
and /work/SRC/openSUSE:Factory/.python-notify2.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-notify2"
Thu Jan 3 18:06:24 2019 rev:4 rq:656832 version:0.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-notify2/python-notify2.changes 2017-07-02 13:38:47.725839348 +0200
+++ /work/SRC/openSUSE:Factory/.python-notify2.new.28833/python-notify2.changes 2019-01-03 18:06:25.516151172 +0100
@@ -1,0 +2,7 @@
+Mon Dec 10 12:53:58 UTC 2018 - Tomáš Chvátal
+
+- Fix fdupes call
+- Use singlespec everywhere as we rather update packages on older
+ releases to be singlespeced instead of using py2 only variants
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-notify2.spec ++++++
--- /var/tmp/diff_new_pack.rPVuuY/_old 2019-01-03 18:06:26.092150661 +0100
+++ /var/tmp/diff_new_pack.rPVuuY/_new 2019-01-03 18:06:26.092150661 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-notify2
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -23,25 +23,18 @@
Summary: Python interface to DBus notifications
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
+URL: https://pypi.python.org/pypi/notify2/
+Source: https://files.pythonhosted.org/packages/source/n/notify2/notify2-%{version}.tar.gz
BuildRequires: %{python_module dbus-python}
-%endif
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+BuildArch: noarch
%ifpython3
Requires: dbus-1-python3
%else
Requires: dbus-1-python
%endif
-BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-
%python_subpackages
%description
@@ -58,11 +51,10 @@
%install
%python_install
-%fdupes %{buildroot}/%{_prefix}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%files %python_files
-%defattr(-,root,root,-)
-%doc LICENSE
+%files %{python_files}
+%license LICENSE
%{python_sitelib}/*
%changelog