Hello community,

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

Package is "python-easydev"

Thu May 28 09:17:40 2020 rev:4 rq:809399 version:0.9.38

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-easydev/python-easydev.changes    
2019-09-13 15:04:53.181262246 +0200
+++ /work/SRC/openSUSE:Factory/.python-easydev.new.3606/python-easydev.changes  
2020-05-28 09:17:41.533016511 +0200
@@ -1,0 +2,5 @@
+Tue May 26 06:34:04 UTC 2020 - Petr Gajdos <pgaj...@suse.com>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-easydev.spec ++++++
--- /var/tmp/diff_new_pack.hVB76w/_old  2020-05-28 09:17:42.065017766 +0200
+++ /var/tmp/diff_new_pack.hVB76w/_new  2020-05-28 09:17:42.069017775 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-easydev
 #
-# 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,11 +23,19 @@
 Summary:        Common utilities to ease the development of Python packages
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Url:            https://github.com/cokelaer/easydev
+URL:            https://github.com/cokelaer/easydev
 Source:         
https://files.pythonhosted.org/packages/source/e/easydev/easydev-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-colorama
+Requires:       python-colorlog
+Requires:       python-pexpect
+Requires:       python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+Recommends:     python-line_profiler
+BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module colorama}
 BuildRequires:  %{python_module colorlog}
@@ -38,13 +46,6 @@
 BuildRequires:  %{python_module pytest-cov}
 BuildRequires:  %{python_module pytest}
 # /SECTION
-Requires:       python-colorama
-Requires:       python-colorlog
-Requires:       python-pexpect
-Requires:       python-setuptools
-Recommends:     python-line_profiler
-BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -63,13 +64,23 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/easydev_buildPackage
+%python_clone -a %{buildroot}%{_bindir}/browse
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative easydev_buildPackage
+%python_install_alternative browse
+
+%postun
+%python_uninstall_alternative easydev_buildPackage
+%python_uninstall_alternative browse
+
 %files %{python_files}
 %doc README.rst
 %license COPYING
-%python3_only %{_bindir}/browse
-%python3_only %{_bindir}/easydev_buildPackage
+%python_alternative %{_bindir}/browse
+%python_alternative %{_bindir}/easydev_buildPackage
 %{python_sitelib}/*
 
 %changelog


Reply via email to