Hello community,

here is the log from the commit of package python-mygpoclient for 
openSUSE:Leap:15.2 checked in at 2020-05-28 20:10:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-mygpoclient (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-mygpoclient.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mygpoclient"

Thu May 28 20:10:39 2020 rev:12 rq:809510 version:1.8

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-mygpoclient/python-mygpoclient.changes  
2020-03-09 18:09:16.149016281 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-mygpoclient.new.3606/python-mygpoclient.changes
        2020-05-28 20:10:39.615089026 +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.zovj72/_old  2020-05-28 20:10:39.955090039 +0200
+++ /var/tmp/diff_new_pack.zovj72/_new  2020-05-28 20:10:39.959090050 +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


Reply via email to