Hello community,

here is the log from the commit of package python-sadisplay for 
openSUSE:Leap:15.2 checked in at 2020-05-28 20:08:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-sadisplay (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-sadisplay.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sadisplay"

Thu May 28 20:08:35 2020 rev:2 rq:807331 version:0.4.9

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-sadisplay/python-sadisplay.changes      
2020-02-22 18:49:52.168411095 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-sadisplay.new.3606/python-sadisplay.changes
    2020-05-28 20:08:36.642722991 +0200
@@ -1,0 +2,5 @@
+Tue May 19 09:27:52 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-sadisplay.spec ++++++
--- /var/tmp/diff_new_pack.uqroy0/_old  2020-05-28 20:08:36.982724003 +0200
+++ /var/tmp/diff_new_pack.uqroy0/_new  2020-05-28 20:08:36.982724003 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sadisplay
 #
-# Copyright (c) 2019 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
@@ -23,14 +23,15 @@
 Summary:        SqlAlchemy schema display script
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Url:            http://bitbucket.org/estin/sadisplay
+URL:            https://bitbucket.org/estin/sadisplay
 Source:         
https://files.pythonhosted.org/packages/source/s/sadisplay/sadisplay-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-SQLAlchemy >= 0.5
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -44,12 +45,19 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/sadisplay
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative sadisplay
+
+%postun
+%python_uninstall_alternative sadisplay
+
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%python3_only %{_bindir}/sadisplay
+%python_alternative %{_bindir}/sadisplay
 %{python_sitelib}/*
 
 %changelog


Reply via email to