Hello community,

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

Package is "python-icalendar"

Tue May 26 17:49:39 2020 rev:28 rq:808791 version:4.0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-icalendar/python-icalendar.changes        
2020-04-09 23:18:33.726352276 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-icalendar.new.2738/python-icalendar.changes  
    2020-05-26 17:49:40.607927421 +0200
@@ -1,0 +2,5 @@
+Mon May 25 10:59:22 UTC 2020 - Petr Gajdos <pgaj...@suse.com>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-icalendar.spec ++++++
--- /var/tmp/diff_new_pack.GdUOdN/_old  2020-05-26 17:49:41.299928938 +0200
+++ /var/tmp/diff_new_pack.GdUOdN/_new  2020-05-26 17:49:41.303928947 +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