Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyhcl for openSUSE:Factory checked in at 2021-01-26 14:45:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyhcl (Old) and /work/SRC/openSUSE:Factory/.python-pyhcl.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyhcl" Tue Jan 26 14:45:58 2021 rev:3 rq:864191 version:0.4.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyhcl/python-pyhcl.changes 2020-08-10 14:59:33.780050061 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyhcl.new.28504/python-pyhcl.changes 2021-01-26 14:49:45.871678814 +0100 @@ -1,0 +2,5 @@ +Tue Jan 19 05:00:15 UTC 2021 - Steve Kowalik <[email protected]> + +- Switch from python3_only to python_alternative for hcltool. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyhcl.spec ++++++ --- /var/tmp/diff_new_pack.4bF8VE/_old 2021-01-26 14:49:46.467679627 +0100 +++ /var/tmp/diff_new_pack.4bF8VE/_new 2021-01-26 14:49:46.471679633 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pyhcl # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,6 +29,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch +Requires(post): update-alternatives +Requires(postun): update-alternatives %python_subpackages %description @@ -43,14 +45,21 @@ %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_clone -a %{buildroot}%{_bindir}/hcltool %check %pytest +%post +%python_install_alternative hcltool + +%postun +%python_uninstall_alternative hcltool + %files %{python_files} %doc CHANGELOG.md README.rst %license LICENSE -%python3_only %{_bindir}/hcltool +%python_alternative %{_bindir}/hcltool %{python_sitelib}/* %changelog
