Hello community,

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

Package is "python-cloud-init-seed"

Thu May 28 09:19:53 2020 rev:2 rq:809611 version:0.3.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-cloud-init-seed/python-cloud-init-seed.changes
    2019-01-03 18:06:52.140127514 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cloud-init-seed.new.3606/python-cloud-init-seed.changes
  2020-05-28 09:19:53.893272436 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:45 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cloud-init-seed.spec ++++++
--- /var/tmp/diff_new_pack.zzebYs/_old  2020-05-28 09:19:54.393273352 +0200
+++ /var/tmp/diff_new_pack.zzebYs/_new  2020-05-28 09:19:54.393273352 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cloud-init-seed
 #
-# Copyright (c) 2018 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
@@ -24,7 +24,7 @@
 Summary:        Create cloud-init compatible image seeds
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Url:            https://github.com/toabctl/cloud-init-seed
+URL:            https://github.com/toabctl/cloud-init-seed
 Source:         
https://files.pythonhosted.org/packages/source/c/cloud-init-seed/cloud-init-seed-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pbr}
@@ -32,8 +32,9 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       mkisofs
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -47,12 +48,19 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/cloud-init-seed
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative cloud-init-seed
+
+%postun
+%python_uninstall_alternative cloud-init-seed
+
 %files %{python_files}
 %doc AUTHORS ChangeLog README.rst
 %license LICENSE
-%python3_only %{_bindir}/cloud-init-seed
+%python_alternative %{_bindir}/cloud-init-seed
 %{python_sitelib}/*
 
 %changelog


Reply via email to