Hello community,

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

Package is "python-behave"

Wed Jun 10 00:42:23 2020 rev:2 rq:809804 version:1.2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-behave/python-behave.changes      
2019-04-05 12:00:54.318507693 +0200
+++ /work/SRC/openSUSE:Factory/.python-behave.new.3606/python-behave.changes    
2020-06-10 00:42:35.098055774 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:27 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-behave.spec ++++++
--- /var/tmp/diff_new_pack.Kp63DO/_old  2020-06-10 00:42:37.162061186 +0200
+++ /var/tmp/diff_new_pack.Kp63DO/_new  2020-06-10 00:42:37.162061186 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-behave
 #
-# 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
@@ -23,7 +23,7 @@
 Summary:        Behaviour-driven development, Python style
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
-URL:            http://github.com/behave/behave
+URL:            https://github.com/behave/behave
 Source:         
https://files.pythonhosted.org/packages/source/b/behave/behave-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
@@ -32,6 +32,8 @@
 Requires:       python-parse >= 1.8.2
 Requires:       python-parse_type >= 0.4.2
 Requires:       python-six >= 1.11
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Suggests:       python-argparse
 Suggests:       python-coverage
 Suggests:       python-enum34
@@ -78,14 +80,21 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/behave
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 
+%post
+%python_install_alternative behave
+
+%postun
+%python_uninstall_alternative behave
+
 %files %{python_files}
 %license LICENSE
 %doc CHANGES.rst README.rst
-%python3_only %{_bindir}/behave
+%python_alternative %{_bindir}/behave
 %{python_sitelib}/*
 
 %changelog


Reply via email to