Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-mutt-ics for openSUSE:Factory
checked in at 2025-06-10 09:08:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mutt-ics (Old)
and /work/SRC/openSUSE:Factory/.python-mutt-ics.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mutt-ics"
Tue Jun 10 09:08:08 2025 rev:8 rq:1284213 version:0.9.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mutt-ics/python-mutt-ics.changes
2025-06-02 22:01:34.775756886 +0200
+++
/work/SRC/openSUSE:Factory/.python-mutt-ics.new.19631/python-mutt-ics.changes
2025-06-10 09:10:21.756028444 +0200
@@ -1,0 +2,5 @@
+Mon Jun 9 14:17:10 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mutt-ics.spec ++++++
--- /var/tmp/diff_new_pack.uMs4Na/_old 2025-06-10 09:10:22.288050444 +0200
+++ /var/tmp/diff_new_pack.uMs4Na/_new 2025-06-10 09:10:22.292050610 +0200
@@ -16,6 +16,7 @@
#
+%bcond_without libalternatives
Name: python-mutt-ics
Version: 0.9.2
Release: 0
@@ -27,12 +28,12 @@
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
+BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: alts
Requires: python-icalendar >= 3.9.0
Requires: python-setuptools
-Requires(post): alts
-Requires(postun): alts
Provides: mutt-ics
Provides: mutt_ics
BuildArch: noarch
@@ -59,11 +60,8 @@
%python_exec 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
+%pre
+%python_libalternatives_reset_alternative mutt-ics
%files %{python_files}
%doc README.md