Hello community, here is the log from the commit of package python-ed25519 for openSUSE:Factory checked in at 2020-05-28 09:17:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ed25519 (Old) and /work/SRC/openSUSE:Factory/.python-ed25519.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ed25519" Thu May 28 09:17:38 2020 rev:2 rq:809397 version:1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ed25519/python-ed25519.changes 2019-09-25 08:17:12.846476628 +0200 +++ /work/SRC/openSUSE:Factory/.python-ed25519.new.3606/python-ed25519.changes 2020-05-28 09:17:38.781010017 +0200 @@ -1,0 +2,5 @@ +Tue May 26 06:34:05 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ed25519.spec ++++++ --- /var/tmp/diff_new_pack.AMmNrS/_old 2020-05-28 09:17:39.353011367 +0200 +++ /var/tmp/diff_new_pack.AMmNrS/_new 2020-05-28 09:17:39.353011367 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-ed25519 # -# 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 @@ -29,6 +29,8 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives %python_subpackages %description @@ -43,15 +45,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/edsig %python_expand %fdupes %{buildroot}%{$python_sitearch} %check %python_exec setup.py test +%post +%python_install_alternative edsig + +%postun +%python_uninstall_alternative edsig + %files %{python_files} %doc NEWS README.md %license LICENSE -%python3_only %{_bindir}/edsig +%python_alternative %{_bindir}/edsig %{python_sitearch}/* %changelog
