Hello community,

here is the log from the commit of package python-managesieve for 
openSUSE:Leap:15.2 checked in at 2020-06-01 23:02:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-managesieve (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-managesieve.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-managesieve"

Mon Jun  1 23:02:59 2020 rev:12 rq:809167 version:0.6

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-managesieve/python-managesieve.changes  
2020-03-09 18:08:24.496942255 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-managesieve.new.3606/python-managesieve.changes
        2020-06-01 23:02:59.402717487 +0200
@@ -1,0 +2,5 @@
+Mon May 25 06:50:44 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-managesieve.spec ++++++
--- /var/tmp/diff_new_pack.Gw2HBW/_old  2020-06-01 23:02:59.758718615 +0200
+++ /var/tmp/diff_new_pack.Gw2HBW/_new  2020-06-01 23:02:59.762718628 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-managesieve
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2009 Guido Berhoerster.
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,7 +19,6 @@
 
 %define oname  managesieve
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
 Name:           python-managesieve
 Version:        0.6
 Release:        0
@@ -32,6 +31,8 @@
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 # provides same binary: /usr/bin/sieveshell
 Conflicts:      perl-Cyrus-SIEVE-managesieve
 BuildArch:      noarch
@@ -53,15 +54,21 @@
 
 %install
 %python_install
-%python_clone %{buildroot}%{_bindir}/sieveshell
+%python_clone -a %{buildroot}%{_bindir}/sieveshell
 
 %check
 %python_exec setup.py test -v
 
+%post
+%python_install_alternative sieveshell
+
+%postun
+%python_uninstall_alternative sieveshell
+
 %files %{python_files}
 %doc README.txt
 %{_bindir}/sieveshell-%{python_bin_suffix}
-%python3_only %{_bindir}/sieveshell
+%python_alternative %{_bindir}/sieveshell
 %{python_sitelib}/*
 
 %changelog


Reply via email to