Hello community,

here is the log from the commit of package python-python-gitlab for 
openSUSE:Factory checked in at 2020-05-04 22:01:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-gitlab (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-gitlab.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-gitlab"

Mon May  4 22:01:41 2020 rev:9 rq:800150 version:2.2.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-gitlab/python-python-gitlab.changes    
    2020-04-21 13:08:58.476609729 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-python-gitlab.new.2738/python-python-gitlab.changes
      2020-05-04 22:01:46.502646776 +0200
@@ -1,0 +2,13 @@
+Mon May  4 18:51:52 UTC 2020 - Matej Cepl <mc...@suse.com>
+
+- Don't use %python3_only command, but properly use alternatives.
+- Update to 2.2.0:
+  - add missing import_project param
+  - types: do not split single value string in ListAttribute
+  - add commit GPG signature API
+  - add create from template args to ProjectManager
+  - add remote mirrors API (#1056)
+  - add Gitlab Deploy Token API
+  - add Group Import/Export API (#1037)
+
+-------------------------------------------------------------------

Old:
----
  python-gitlab-2.1.2.tar.gz

New:
----
  python-gitlab-2.2.0.tar.gz

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

Other differences:
------------------
++++++ python-python-gitlab.spec ++++++
--- /var/tmp/diff_new_pack.HDbKxt/_old  2020-05-04 22:01:47.498648977 +0200
+++ /var/tmp/diff_new_pack.HDbKxt/_new  2020-05-04 22:01:47.502648987 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-python-gitlab
-Version:        2.1.2
+Version:        2.2.0
 Release:        0
 Summary:        Python module for interacting with the GitLab API
 License:        LGPL-3.0-only
@@ -42,6 +42,8 @@
 BuildRequires:  %{python_module requests >= 2.22.0}
 BuildRequires:  %{python_module six}
 # /SECTION
+Requires(post):   update-alternatives
+Requires(postun):  update-alternatives
 %python_subpackages
 
 %description
@@ -61,15 +63,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/gitlab
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest
 
+%post
+%python_install_alternative gitlab
+
+%postun
+%python_uninstall_alternative gitlab
+
 %files %{python_files}
 %doc AUTHORS ChangeLog.rst README.rst
 %license COPYING
-%python3_only %{_bindir}/gitlab
+%python_alternative %{_bindir}/gitlab
 %{python_sitelib}/*
 
 %changelog

++++++ python-gitlab-2.1.2.tar.gz -> python-gitlab-2.2.0.tar.gz ++++++
++++ 2120 lines of diff (skipped)


Reply via email to