Hello community,

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

Package is "python-jira"

Tue May 26 17:49:07 2020 rev:5 rq:808781 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jira/python-jira.changes  2018-12-24 
11:47:03.877151073 +0100
+++ /work/SRC/openSUSE:Factory/.python-jira.new.2738/python-jira.changes        
2020-05-26 17:49:11.415863441 +0200
@@ -1,0 +2,5 @@
+Mon May 25 10:59:32 UTC 2020 - Petr Gajdos <pgaj...@suse.com>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-jira.spec ++++++
--- /var/tmp/diff_new_pack.vt960X/_old  2020-05-26 17:49:12.527865878 +0200
+++ /var/tmp/diff_new_pack.vt960X/_new  2020-05-26 17:49:12.531865886 +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