Hello community,

here is the log from the commit of package python-asv for openSUSE:Factory 
checked in at 2020-06-10 00:43:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-asv (Old)
 and      /work/SRC/openSUSE:Factory/.python-asv.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-asv"

Wed Jun 10 00:43:12 2020 rev:3 rq:809812 version:0.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-asv/python-asv.changes    2019-08-27 
10:23:15.511932085 +0200
+++ /work/SRC/openSUSE:Factory/.python-asv.new.3606/python-asv.changes  
2020-06-10 00:43:17.094165216 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:06 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-asv.spec ++++++
--- /var/tmp/diff_new_pack.PXUndO/_old  2020-06-10 00:43:20.310173244 +0200
+++ /var/tmp/diff_new_pack.PXUndO/_new  2020-06-10 00:43:20.314173254 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-asv
 #
-# 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
@@ -24,21 +24,22 @@
 License:        BSD-3-Clause AND MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/airspeed-velocity/asv
-Source:         
https://files.pythonhosted.org/packages/6e/94/4521cc0183a5656de9470452ddd2b6170a2d04ba9b18b84c597db09b8b0d/asv-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/a/asv/asv-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  gcc-c++
 BuildRequires:  python-rpm-macros
+Requires:       python-six >= 1.4
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+Suggests:       python-python-hglib >= 1.5
 # SECTION test requirements
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module six >= 1.4}
 BuildRequires:  git
 # /SECTION
-BuildRequires:  fdupes
-BuildRequires:  gcc-c++
-Requires:       python-six >= 1.4
-Suggests:       python-python-hglib >= 1.5
-
 %python_subpackages
 
 %description
@@ -59,6 +60,7 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/asv
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
@@ -66,10 +68,16 @@
 exit 0
 # % python_exec setup.py test
 
+%post
+%python_install_alternative asv
+
+%postun
+%python_uninstall_alternative asv
+
 %files %{python_files}
 %doc CHANGES.rst README.rst
 %license LICENSE.rst
-%python3_only %{_bindir}/asv
+%python_alternative %{_bindir}/asv
 %{python_sitearch}/*
 
 %changelog


Reply via email to