Hello community,
here is the log from the commit of package python-mutt-ics for
openSUSE:Leap:15.2 checked in at 2020-06-01 23:03:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-mutt-ics (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-mutt-ics.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mutt-ics"
Mon Jun 1 23:03:06 2020 rev:4 rq:809177 version:0.9.2
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-mutt-ics/python-mutt-ics.changes
2020-03-09 18:09:14.589014046 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-mutt-ics.new.3606/python-mutt-ics.changes
2020-06-01 23:03:07.194742198 +0200
@@ -1,0 +2,5 @@
+Mon May 25 06:50:56 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mutt-ics.spec ++++++
--- /var/tmp/diff_new_pack.BQLD39/_old 2020-06-01 23:03:07.566743377 +0200
+++ /var/tmp/diff_new_pack.BQLD39/_new 2020-06-01 23:03:07.566743377 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-mutt-ics
#
-# 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
@@ -31,6 +31,8 @@
BuildRequires: python-rpm-macros
Requires: python-icalendar >= 3.9.0
Requires: python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
%ifpython3
Provides: mutt-ics
@@ -49,6 +51,7 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/mutt-ics
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -58,9 +61,15 @@
%python_exec build/lib/mutt_ics/mutt_ics.py samples/3.ics | grep Organizer ||
exit_code=3
exit $exit_code
+%post
+%python_install_alternative mutt-ics
+
+%postun
+%python_uninstall_alternative mutt-ics
+
%files %{python_files}
%doc README.md
-%python3_only %{_bindir}/mutt-ics
+%python_alternative %{_bindir}/mutt-ics
%{python_sitelib}/*
%changelog