Hello community,

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

Package is "python-jira"

Thu May 28 20:08:55 2020 rev:17 rq:809061 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-jira/python-jira.changes        
2020-03-09 18:06:48.232860357 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-jira.new.3606/python-jira.changes      
2020-05-28 20:08:57.118783940 +0200
@@ -1,0 +2,5 @@
+Mon May 25 10:59:32 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-jira.spec ++++++
--- /var/tmp/diff_new_pack.yCHF7L/_old  2020-05-28 20:08:57.686785630 +0200
+++ /var/tmp/diff_new_pack.yCHF7L/_new  2020-05-28 20:08:57.686785630 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jira
 #
-# 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
@@ -39,6 +39,8 @@
 Requires:       python-requests-toolbelt
 Requires:       python-setuptools >= 20.10.1
 Requires:       python-six >= 1.10.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -55,12 +57,19 @@
 %install
 export LANG=en_US.UTF-8
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/jirashell
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative jirashell
+
+%postun
+%python_uninstall_alternative jirashell
+
 %files %{python_files}
 %doc AUTHORS ChangeLog README.rst
 %license LICENSE
-%python3_only %{_bindir}/jirashell
+%python_alternative %{_bindir}/jirashell
 %{python_sitelib}/*
 
 %changelog


Reply via email to