forked from pool/python-python-gitlab
Accepting request 800150 from devel:languages:python
- 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) OBS-URL: https://build.opensuse.org/request/show/800150 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gitlab?expand=0&rev=9
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:71445d7444fe3354bf90a52d6249f91c9e572a8ef6c143afd9de25f50c92d499
|
||||
size 129023
|
3
python-gitlab-2.2.0.tar.gz
Normal file
3
python-gitlab-2.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c4ea60c8303f4214522b18038df017cae35afda7474efa0b4e19c2e73bc3ae2
|
||||
size 136178
|
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 4 18:51:52 UTC 2020 - Matej Cepl <mcepl@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)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 20 10:05:29 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@@ -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 pytest}
|
||||
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 @@ sed -i -e '/^#!\//, 1d' gitlab/v4/cli.py
|
||||
|
||||
%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
|
||||
|
Reference in New Issue
Block a user