diff --git a/cloudflare-2.6.3.tar.gz b/cloudflare-2.6.3.tar.gz deleted file mode 100644 index 373647c..0000000 --- a/cloudflare-2.6.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0f67bf20bfe112a15aabea55daaaa87eeaec41ce55d30e36e7257da71751a7ac -size 59136 diff --git a/cloudflare-2.8.3.tar.gz b/cloudflare-2.8.3.tar.gz new file mode 100644 index 0000000..48cac10 --- /dev/null +++ b/cloudflare-2.8.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd164ce0a43e841e295e8d6005adbeb29f06506a3cd5fd13e57c4ffb9d7d83c8 +size 61573 diff --git a/python-cloudflare.changes b/python-cloudflare.changes index 66ca521..ff378fb 100644 --- a/python-cloudflare.changes +++ b/python-cloudflare.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jun 25 04:20:35 UTC 2020 - Steve Kowalik + +- Update to 2.8.3: + * No upstream changelog +- Add alternative for new manpage. + ------------------------------------------------------------------- Wed May 27 09:36:45 UTC 2020 - Petr Gajdos diff --git a/python-cloudflare.spec b/python-cloudflare.spec index 026ce5d..025b4bb 100644 --- a/python-cloudflare.spec +++ b/python-cloudflare.spec @@ -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