15
0

Accepting request 816914 from devel:languages:python

- Update to 2.8.3:
  * No upstream changelog
- Add alternative for new manpage.

OBS-URL: https://build.opensuse.org/request/show/816914
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudflare?expand=0&rev=6
This commit is contained in:
2020-06-25 13:08:32 +00:00
committed by Git OBS Bridge
4 changed files with 18 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0f67bf20bfe112a15aabea55daaaa87eeaec41ce55d30e36e7257da71751a7ac
size 59136

3
cloudflare-2.8.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dd164ce0a43e841e295e8d6005adbeb29f06506a3cd5fd13e57c4ffb9d7d83c8
size 61573

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jun 25 04:20:35 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.8.3:
* No upstream changelog
- Add alternative for new manpage.
-------------------------------------------------------------------
Wed May 27 09:36:45 UTC 2020 - Petr Gajdos <pgajdos@suse.com>

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-cloudflare
Version: 2.6.3
Version: 2.8.3
Release: 0
Summary: Python wrapper for the Cloudflare v4 API
License: MIT
@@ -52,21 +52,26 @@ Python wrapper for the Cloudflare Client API v4.
%install
%python_install
mkdir -p %{buildroot}%{_mandir}/man1
mv %{buildroot}/usr/man/man1/cli4.man %{buildroot}%{_mandir}/man1/cli4.1
rm -rf %{buildroot}/usr/man
%python_clone -a %{buildroot}%{_bindir}/cli4
%python_clone -a %{buildroot}%{_mandir}/man1/cli4.1
# remove examples from sitelib
%python_expand rm -rf %{buildroot}%{$python_sitelib}/examples
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%python_install_alternative cli4
%python_install_alternative cli4 cli4.1
%postun
%python_uninstall_alternative cli4
%python_uninstall_alternative cli4 cli4.1
%files %{python_files}
%doc README.rst
%license LICENSE
%python_alternative %{_bindir}/cli4
%python_alternative %{_mandir}/man1/cli4.1%{?ext_man}
%{python_sitelib}/*
%changelog