Hello community,

here is the log from the commit of package python-Parsley for openSUSE:Factory 
checked in at 2020-05-26 17:16:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Parsley (Old)
 and      /work/SRC/openSUSE:Factory/.python-Parsley.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Parsley"

Tue May 26 17:16:37 2020 rev:4 rq:807646 version:1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Parsley/python-Parsley.changes    
2019-11-13 13:14:37.806842085 +0100
+++ /work/SRC/openSUSE:Factory/.python-Parsley.new.2738/python-Parsley.changes  
2020-05-26 17:17:41.107763711 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:05 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Parsley.spec ++++++
--- /var/tmp/diff_new_pack.6yGgyL/_old  2020-05-26 17:17:41.959765558 +0200
+++ /var/tmp/diff_new_pack.6yGgyL/_new  2020-05-26 17:17:41.963765567 +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