Hello community,

here is the log from the commit of package python-spark_parser for 
openSUSE:Leap:15.2 checked in at 2020-05-23 16:08:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-spark_parser (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-spark_parser.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-spark_parser"

Sat May 23 16:08:04 2020 rev:12 rq:808350 version:1.8.9

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/python-spark_parser/python-spark_parser.changes    
    2020-03-02 13:23:06.170367999 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-spark_parser.new.2738/python-spark_parser.changes
      2020-05-23 16:08:05.257138938 +0200
@@ -1,0 +2,5 @@
+Tue May 19 08:03:00 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-spark_parser.spec ++++++
--- /var/tmp/diff_new_pack.kMC2uX/_old  2020-05-23 16:08:05.613139701 +0200
+++ /var/tmp/diff_new_pack.kMC2uX/_new  2020-05-23 16:08:05.613139701 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-spark_parser
 #
-# 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
@@ -32,6 +32,8 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-click
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -52,15 +54,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/spark-parser-coverage
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest test
 
+%post
+%python_install_alternative spark-parser-coverage
+
+%postun
+%python_uninstall_alternative spark-parser-coverage
+
 %files %{python_files}
 %license LICENSE
 %doc ChangeLog README.rst
-%python3_only %{_bindir}/spark-parser-coverage
+%python_alternative %{_bindir}/spark-parser-coverage
 %{python_sitelib}/*
 
 %changelog


Reply via email to