Hello community,

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

Package is "python-fastimport"

Fri Jun  5 19:59:00 2020 rev:7 rq:809383 version:0.9.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fastimport/python-fastimport.changes      
2018-08-31 10:43:29.487134412 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-fastimport.new.3606/python-fastimport.changes
    2020-06-05 19:59:02.403695001 +0200
@@ -1,0 +2,5 @@
+Tue May 26 06:34:12 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-fastimport.spec ++++++
--- /var/tmp/diff_new_pack.a9MaAZ/_old  2020-06-05 19:59:03.015697118 +0200
+++ /var/tmp/diff_new_pack.a9MaAZ/_new  2020-06-05 19:59:03.019697132 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fastimport
 #
-# Copyright (c) 2018 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -28,6 +28,8 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -46,17 +48,30 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/fast-import-query
+%python_clone -a %{buildroot}%{_bindir}/fast-import-info
+%python_clone -a %{buildroot}%{_bindir}/fast-import-filter
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec -m unittest fastimport.tests.test_suite
 
+%post
+%python_install_alternative fast-import-query
+%python_install_alternative fast-import-info
+%python_install_alternative fast-import-filter
+
+%postun
+%python_uninstall_alternative fast-import-query
+%python_uninstall_alternative fast-import-info
+%python_uninstall_alternative fast-import-filter
+
 %files %{python_files}
 %doc NEWS README.md
 %license COPYING
 %{python_sitelib}/fastimport*
-%python3_only %{_bindir}/fast-import-filter
-%python3_only %{_bindir}/fast-import-info
-%python3_only %{_bindir}/fast-import-query
+%python_alternative %{_bindir}/fast-import-filter
+%python_alternative %{_bindir}/fast-import-info
+%python_alternative %{_bindir}/fast-import-query
 
 %changelog


Reply via email to