Hello community,

here is the log from the commit of package python-Parsley for 
openSUSE:Leap:15.2 checked in at 2020-06-01 23:03:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-Parsley (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-Parsley.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Parsley"

Mon Jun  1 23:03:04 2020 rev:12 rq:809173 version:1.3

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-Parsley/python-Parsley.changes  
2020-03-09 18:00:57.452686220 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-Parsley.new.3606/python-Parsley.changes    
    2020-06-01 23:03:05.218735931 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:05 UTC 2020 - Petr Gajdos <pgaj...@suse.com>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Parsley.spec ++++++
--- /var/tmp/diff_new_pack.9d47CC/_old  2020-06-01 23:03:05.638737263 +0200
+++ /var/tmp/diff_new_pack.9d47CC/_new  2020-06-01 23:03:05.642737276 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Parsley
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2013 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -31,6 +31,8 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Provides:       python-parsley
 Obsoletes:      %{oldpython}-Parsley-doc
 Obsoletes:      python-Parsley-doc
@@ -67,6 +69,7 @@
        -e "s|^#!%{_bindir}/env python$|#!%{_bindir}/python3|" \
        bin/$f
     cp -v bin/$f %{buildroot}/%{_bindir}/parsley-$f
+    %python_clone -a %{buildroot}%{_bindir}/parsley-$f
 done
 
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -76,10 +79,19 @@
 %pytest ometa/test
 %pytest terml/test
 
+%post
+%python_install_alternative parsley-stage
+%python_install_alternative parsley-generate_parser
+
+%postun
+%python_uninstall_alternative parsley-stage
+%python_uninstall_alternative parsley-generate_parser
+
 %files %{python_files}
 %license LICENSE
 %doc NEWS PKG-INFO README
-%python3_only %{_bindir}/parsley*
+%python_alternative %{_bindir}/parsley-stage
+%python_alternative %{_bindir}/parsley-generate_parser
 %{python_sitelib}/*
 
 %changelog


Reply via email to