Hello community,

here is the log from the commit of package python-ndg-httpsclient for 
openSUSE:Factory checked in at 2020-05-28 09:11:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ndg-httpsclient (Old)
 and      /work/SRC/openSUSE:Factory/.python-ndg-httpsclient.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ndg-httpsclient"

Thu May 28 09:11:17 2020 rev:6 rq:808039 version:0.5.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-ndg-httpsclient/python-ndg-httpsclient.changes
    2019-06-03 18:56:29.244403995 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-ndg-httpsclient.new.3606/python-ndg-httpsclient.changes
  2020-05-28 09:12:28.600482265 +0200
@@ -1,0 +2,5 @@
+Thu May 21 10:56:33 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-ndg-httpsclient.spec ++++++
--- /var/tmp/diff_new_pack.v1vep1/_old  2020-05-28 09:12:32.032490559 +0200
+++ /var/tmp/diff_new_pack.v1vep1/_new  2020-05-28 09:12:32.032490559 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ndg-httpsclient
 #
-# 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
@@ -30,6 +30,8 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-pyOpenSSL
 Requires:       python-pyasn1 >= 0.1.1
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -47,14 +49,21 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/ndg_httpclient
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 # tests require internet connection
 
+%post
+%python_install_alternative ndg_httpclient
+
+%postun
+%python_uninstall_alternative ndg_httpclient
+
 %files %{python_files}
 %doc README.md
 %license ndg/httpsclient/LICENSE
 %{python_sitelib}/*
-%python3_only %{_bindir}/ndg_httpclient
+%python_alternative %{_bindir}/ndg_httpclient
 
 %changelog


Reply via email to