Hello community,

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

Package is "python-icalendar"

Thu May 28 20:09:05 2020 rev:16 rq:809066 version:4.0.5

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-icalendar/python-icalendar.changes      
2020-04-12 15:39:24.114058030 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-icalendar.new.3606/python-icalendar.changes
    2020-05-28 20:09:05.758809657 +0200
@@ -1,0 +2,5 @@
+Mon May 25 10:59:22 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-icalendar.spec ++++++
--- /var/tmp/diff_new_pack.bfutu9/_old  2020-05-28 20:09:06.066810574 +0200
+++ /var/tmp/diff_new_pack.bfutu9/_new  2020-05-28 20:09:06.066810574 +0200
@@ -37,6 +37,8 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-python-dateutil
 Requires:       python-pytz
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Provides:       %{name}-doc = %{version}
 Obsoletes:      %{name}-doc < %{version}
 BuildArch:      noarch
@@ -54,15 +56,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/icalendar
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest src
 
+%post
+%python_install_alternative icalendar
+
+%postun
+%python_uninstall_alternative icalendar
+
 %files %{python_files}
 %license LICENSE.rst
 %doc README.rst CHANGES.rst
-%python3_only %{_bindir}/icalendar
+%python_alternative %{_bindir}/icalendar
 %{python_sitelib}/%{modname}/
 %{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/
 


Reply via email to