Hello community, here is the log from the commit of package python-mygpoclient for openSUSE:Factory checked in at 2020-05-26 17:22:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mygpoclient (Old) and /work/SRC/openSUSE:Factory/.python-mygpoclient.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mygpoclient" Tue May 26 17:22:34 2020 rev:4 rq:808667 version:1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mygpoclient/python-mygpoclient.changes 2019-10-16 09:15:03.415502886 +0200 +++ /work/SRC/openSUSE:Factory/.python-mygpoclient.new.2738/python-mygpoclient.changes 2020-05-26 17:22:56.044440941 +0200 @@ -1,0 +2,5 @@ +Mon May 25 06:50:57 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mygpoclient.spec ++++++ --- /var/tmp/diff_new_pack.EkLW5g/_old 2020-05-26 17:22:56.952442894 +0200 +++ /var/tmp/diff_new_pack.EkLW5g/_new 2020-05-26 17:22:56.956442902 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-mygpoclient # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2010 Pascal Bleser <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -29,6 +29,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-simplejson +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -44,15 +46,29 @@ %install %python_install +%python_clone -a %{buildroot}%{_mandir}/man1/mygpo-bpsync.1 +%python_clone -a %{buildroot}%{_bindir}/mygpo-simple-client +%python_clone -a %{buildroot}%{_bindir}/mygpo-list-devices +%python_clone -a %{buildroot}%{_bindir}/mygpo-bpsync %python_expand %fdupes %{buildroot}%{$python_sitelib} +%post +%python_install_alternative mygpo-simple-client +%python_install_alternative mygpo-list-devices +%python_install_alternative mygpo-bpsync mygpo-bpsync.1 + +%postun +%python_uninstall_alternative mygpo-simple-client +%python_uninstall_alternative mygpo-list-devices +%python_uninstall_alternative mygpo-bpsync + %files %{python_files} %doc AUTHORS %license COPYING -%python3_only %{_bindir}/mygpo-bpsync -%python3_only %{_bindir}/mygpo-list-devices -%python3_only %{_bindir}/mygpo-simple-client -%python3_only %{_mandir}/man1/mygpo-bpsync.1%{ext_man} +%python_alternative %{_bindir}/mygpo-bpsync +%python_alternative %{_bindir}/mygpo-list-devices +%python_alternative %{_bindir}/mygpo-simple-client +%python_alternative %{_mandir}/man1/mygpo-bpsync.1%{ext_man} %{python_sitelib}/* %changelog
