Hello community, here is the log from the commit of package python-pyfeyn for openSUSE:Leap:15.2 checked in at 2020-05-21 12:59:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-pyfeyn (Old) and /work/SRC/openSUSE:Leap:15.2/.python-pyfeyn.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyfeyn" Thu May 21 12:59:52 2020 rev:12 rq:807812 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-pyfeyn/python-pyfeyn.changes 2020-03-02 13:20:49.286095928 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-pyfeyn.new.2738/python-pyfeyn.changes 2020-05-21 13:00:05.482893307 +0200 @@ -1,0 +2,5 @@ +Wed May 20 07:26:25 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyfeyn.spec ++++++ --- /var/tmp/diff_new_pack.1qLI72/_old 2020-05-21 13:00:05.838894082 +0200 +++ /var/tmp/diff_new_pack.1qLI72/_new 2020-05-21 13:00:05.842894091 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pyfeyn # -# Copyright (c) 2020 SUSE LLC. +# 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,18 +22,19 @@ Version: 1.0.0 Release: 0 Summary: A Python library to help draw Feynman diagrams -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Languages/Python -Url: http://projects.hepforge.org/pyfeyn/ +URL: http://projects.hepforge.org/pyfeyn/ Source: https://files.pythonhosted.org/packages/source/p/pyfeyn/pyfeyn-%{version}.tar.gz BuildRequires: %{python_module PyX} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyX +Requires(post): update-alternatives +Requires(postun): update-alternatives Recommends: texlive-hepnames BuildArch: noarch - %python_subpackages %description @@ -52,10 +53,17 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/mkfeyndiag %python_expand %fdupes %{buildroot}%{$python_sitelib} +%post +%python_install_alternative mkfeyndiag + +%postun +%python_uninstall_alternative mkfeyndiag + %files %{python_files} -%python3_only %{_bindir}/mkfeyndiag +%python_alternative %{_bindir}/mkfeyndiag %{python_sitelib}/pyfeyn/ %{python_sitelib}/pyfeyn-%{version}-py*.egg-info