Hello community,

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

Package is "python-acefile"

Thu May 28 09:19:38 2020 rev:3 rq:809602 version:0.6.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-acefile/python-acefile.changes    
2019-06-12 13:13:09.620888330 +0200
+++ /work/SRC/openSUSE:Factory/.python-acefile.new.3606/python-acefile.changes  
2020-05-28 09:19:41.133249065 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:35:56 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-acefile.spec ++++++
--- /var/tmp/diff_new_pack.xpAI0h/_old  2020-05-28 09:19:41.721250141 +0200
+++ /var/tmp/diff_new_pack.xpAI0h/_new  2020-05-28 09:19:41.725250149 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-acefile
 #
-# 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:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 %python_subpackages
 
 %description
@@ -46,12 +48,19 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/acefile-unace
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
+%post
+%python_install_alternative acefile-unace
+
+%postun
+%python_uninstall_alternative acefile-unace
+
 %files %{python_files}
 %doc NEWS.md README.md
 %license LICENSE.md
-%python3_only %{_bindir}/acefile-unace
+%python_alternative %{_bindir}/acefile-unace
 %{python_sitearch}/*
 
 %check


Reply via email to