Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jirafs for openSUSE:Factory checked in at 2021-03-08 15:16:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jirafs (Old) and /work/SRC/openSUSE:Factory/.python-jirafs.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jirafs" Mon Mar 8 15:16:31 2021 rev:6 rq:867350 version:2.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jirafs/python-jirafs.changes 2020-11-29 12:27:00.525916035 +0100 +++ /work/SRC/openSUSE:Factory/.python-jirafs.new.2378/python-jirafs.changes 2021-03-08 15:18:24.917989572 +0100 @@ -1,0 +2,5 @@ +Thu Jan 28 04:14:26 UTC 2021 - Steve Kowalik <steven.kowa...@suse.com> + +- Use python_alternative for the jirafs script. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jirafs.spec ++++++ --- /var/tmp/diff_new_pack.DLHQMr/_old 2021-03-08 15:18:25.453989964 +0100 +++ /var/tmp/diff_new_pack.DLHQMr/_new 2021-03-08 15:18:25.453989964 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-jirafs # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -53,6 +53,8 @@ BuildRequires: %{python_module watchdog >= 0.9.0} BuildRequires: git-core # /SECTION +Requires(post): update-alternatives +Requires(postun): update-alternatives %python_subpackages %description @@ -72,14 +74,21 @@ %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_clone -a %{buildroot}%{_bindir}/jirafs %check git config --global user.name "John Doe" git config --global user.email john...@example.com %pytest -rs +%post +%python_install_alternative jirafs + +%postun +%python_uninstall_alternative jirafs + %files %{python_files} -%{_bindir}/jirafs +%python_alternative %{_bindir}/jirafs %{python_sitelib}/* %changelog