Hello community,

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

Package is "python-PyMeta3"

Thu May 28 20:10:47 2020 rev:2 rq:809519 version:0.5.1

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-PyMeta3/python-PyMeta3.changes  
2020-02-22 17:51:26.205649498 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-PyMeta3.new.3606/python-PyMeta3.changes    
    2020-05-28 20:10:49.779119280 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:35 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-PyMeta3.spec ++++++
--- /var/tmp/diff_new_pack.bIwcQ0/_old  2020-05-28 20:10:50.203120541 +0200
+++ /var/tmp/diff_new_pack.bIwcQ0/_new  2020-05-28 20:10:50.203120541 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PyMeta3
 #
-# 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
@@ -27,6 +27,8 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -51,11 +53,18 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 install -D -m0755 bin/generate_parser %{buildroot}%{_bindir}/generate_parser
 sed -i  -e 's/env python$/python3/' %{buildroot}%{_bindir}/generate_parser
+%python_clone -a %{buildroot}%{_bindir}/generate_parser
+
+%post
+%python_install_alternative generate_parser
+
+%postun
+%python_uninstall_alternative generate_parser
 
 %files %{python_files}
 %license LICENSE
 %doc NEWS README
 %{python_sitelib}/*
-%python3_only %{_bindir}/generate_parser
+%python_alternative %{_bindir}/generate_parser
 
 %changelog


Reply via email to