Hello community,

here is the log from the commit of package python-ddg3 for openSUSE:Factory 
checked in at 2020-05-28 09:18:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ddg3 (Old)
 and      /work/SRC/openSUSE:Factory/.python-ddg3.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ddg3"

Thu May 28 09:18:13 2020 rev:2 rq:809426 
version:0.6.6git~20170824T092521~0ef6b2f

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ddg3/python-ddg3.changes  2018-11-10 
17:02:25.895529742 +0100
+++ /work/SRC/openSUSE:Factory/.python-ddg3.new.3606/python-ddg3.changes        
2020-05-28 09:18:15.669092526 +0200
@@ -1,0 +2,5 @@
+Tue May 26 07:22:31 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-ddg3.spec ++++++
--- /var/tmp/diff_new_pack.Uoej5k/_old  2020-05-28 09:18:16.197093493 +0200
+++ /var/tmp/diff_new_pack.Uoej5k/_new  2020-05-28 09:18:16.201093500 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ddg3
 #
-# Copyright (c) 2018 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
@@ -12,7 +12,8 @@
 # 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/
+#
 
 
 %define skip_python2 1
@@ -20,17 +21,18 @@
 Name:           python-ddg3
 Version:        0.6.6git~20170824T092521~0ef6b2f
 Release:        0
-License:        BSD-3-Clause
 Summary:        Library for querying the Duck Duck Go API
-Url:            https://github.com/jpetrucciani/python-duckduckgo
+License:        BSD-3-Clause
 Group:          Development/Languages/Python
+URL:            https://github.com/jpetrucciani/python-duckduckgo
 Source:         ddg3-%{version}.tar.xz
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:       python-requests
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -44,11 +46,18 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/ddg3
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative ddg3
+
+%postun
+%python_uninstall_alternative ddg3
+
 %files %{python_files}
 %license LICENSE
-%python3_only %{_bindir}/ddg3
+%python_alternative %{_bindir}/ddg3
 %{python_sitelib}/*
 
 %changelog


Reply via email to