|
|
ecfa22e |
%global pyname python-cloudflare
|
|
|
391b8d5 |
%global pypi_name cloudflare
|
|
|
1f94776 |
|
|
|
391b8d5 |
Name: python-%{pypi_name}
|
|
|
609653d |
Version: 2.12.4
|
|
|
fb2b751 |
Release: 4%{?dist}
|
|
|
1f94776 |
Summary: Python wrapper for the Cloudflare Client API v4
|
|
|
1f94776 |
|
|
|
1f94776 |
License: MIT
|
|
|
391b8d5 |
URL: https://pypi.python.org/pypi/%{pypi_name}
|
|
|
391b8d5 |
Source0: %{pypi_source}
|
|
|
b44c8e9 |
# upstream does not provide gpg signatures for 2.9.x releases anymore:
|
|
|
b44c8e9 |
# https://github.com/cloudflare/python-cloudflare/issues/146
|
|
|
b44c8e9 |
#Source1: %%{pypi_source}.asc
|
|
|
cf452ac |
# upstream confirmed release signing key via github:
|
|
|
cf452ac |
# https://github.com/cloudflare/python-cloudflare/issues/93
|
|
|
cf452ac |
# gpg2 --recv-keys "D093 0FD2 2220 3ABF 557C A485 6112 9109 56F6 F8B8"
|
|
|
cf452ac |
# gpg2 --export --export-options export-minimal "D093 0FD2 2220 3ABF 557C A485 6112 9109 56F6 F8B8" > gpgkey-D093_0FD2_2220_3ABF_557C__A485_6112_9109_56F6_F8B8.gpg
|
|
|
cf452ac |
Source2: gpgkey-D093_0FD2_2220_3ABF_557C__A485_6112_9109_56F6_F8B8.gpg
|
|
|
1f94776 |
|
|
|
edbe972 |
# TODO: Remove this once jsonlines is packaged
|
|
|
edbe972 |
Patch0: remove-jsonlines.patch
|
|
|
edbe972 |
|
|
|
1f94776 |
BuildArch: noarch
|
|
|
1f94776 |
BuildRequires: python3-devel
|
|
|
1f94776 |
|
|
|
391b8d5 |
# Used to verify OpenPGP signature
|
|
|
391b8d5 |
BuildRequires: gnupg2
|
|
|
0400909 |
BuildRequires: sed
|
|
|
0400909 |
|
|
|
1f94776 |
%description
|
|
|
1f94776 |
Python wrapper library for the Cloudflare Client API v4.
|
|
|
1f94776 |
|
|
|
391b8d5 |
%package -n python3-%{pypi_name}
|
|
|
1f94776 |
|
|
|
1f94776 |
Summary: %{summary}
|
|
|
391b8d5 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
1f94776 |
|
|
|
391b8d5 |
%description -n python3-%{pypi_name}
|
|
|
1f94776 |
Python wrapper library for the Cloudflare Client API v4.
|
|
|
1f94776 |
|
|
|
1f94776 |
This is the Python 3 version of the package.
|
|
|
1f94776 |
|
|
|
1f94776 |
%prep
|
|
|
b44c8e9 |
#%%{gpgverify} --keyring='%%{SOURCE2}' --signature='%%{SOURCE1}' --data='%%{SOURCE0}'
|
|
|
391b8d5 |
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
3560433 |
rm -rf *.egg-info
|
|
|
ff873b6 |
# Remove shebangs
|
|
|
ff873b6 |
sed -i -e '1!b' -e '\~^#!/usr/bin/env python~d' cli4/*.py
|
|
|
1f94776 |
|
|
|
b0e903b |
%generate_buildrequires
|
|
|
b0e903b |
%pyproject_buildrequires
|
|
|
b0e903b |
|
|
|
b0e903b |
|
|
|
1f94776 |
%build
|
|
|
b0e903b |
%pyproject_wheel
|
|
|
1f94776 |
|
|
|
1f94776 |
%install
|
|
|
b0e903b |
%pyproject_install
|
|
|
b0e903b |
%pyproject_save_files CloudFlare
|
|
|
1f94776 |
|
|
|
ecfa22e |
|
|
|
b0e903b |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
Jonathan |
4bbd089 |
%doc README.md
|
|
|
1f94776 |
%{_bindir}/cli4
|
|
|
c6798d7 |
%doc %attr(0644,root,root) %{_mandir}/man1/cli4.1*
|
|
|
1f94776 |
%{python3_sitelib}/cli4
|
|
|
b0e903b |
%exclude %{python3_sitelib}/examples
|
|
|
b0e903b |
|
|
|
1f94776 |
|
|
|
1f94776 |
%changelog
|
|
|
fb2b751 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.4-4
|
|
|
fb2b751 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
fb2b751 |
|
|
|
78f2df1 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.4-3
|
|
|
78f2df1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
78f2df1 |
|
|
|
4ec89c6 |
* Thu Nov 09 2023 Felix Schwarz <fschwarz@fedoraproject.org> - 2.12.4-2
|
|
|
4ec89c6 |
- drop unnecessary patch to remove shebangs (rhbz #2247294)
|
|
|
4ec89c6 |
|
|
|
609653d |
* Mon Oct 16 2023 Nick Bebout <nb@fedoraproject.org> - 2.12.4-1
|
|
|
609653d |
- Update to 2.12.4
|
|
|
609653d |
|
|
|
b9145f0 |
* Fri Sep 15 2023 Jonathan Wright <jonathan@almalinux.org> - 2.11.7-1
|
|
|
b9145f0 |
- Update to 2.11.7 rhbz#2232863
|
|
|
b9145f0 |
|
|
|
39aa7a8 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.6-3
|
|
|
39aa7a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
39aa7a8 |
|
|
|
4333927 |
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 2.11.6-2
|
|
|
4333927 |
- Rebuilt for Python 3.12
|
|
|
4333927 |
|
|
Nick Bebout |
3ea65be |
* Wed Jun 14 2023 Nick Bebout <nb@fedoraproject.org> - 2.11.6-1
|
|
Nick Bebout |
3ea65be |
- Update to 2.11.6
|
|
Nick Bebout |
3ea65be |
|
|
|
2c72118 |
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 2.11.1-3
|
|
|
2c72118 |
- Rebuilt for Python 3.12
|
|
|
2c72118 |
|
|
|
ca0a5e2 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-2
|
|
|
ca0a5e2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
ca0a5e2 |
|
|
Jonathan |
b2e6de8 |
* Sat Nov 26 2022 Jonathan Wright
|
|
Jonathan |
b2e6de8 |
- Update to 2.11.1 rhbz#2143783
|
|
Jonathan |
b2e6de8 |
|
|
Nick Bebout |
40e918d |
* Wed Nov 09 2022 Nick Bebout <nb@fedoraproject.org> - 2.10.4-1
|
|
Nick Bebout |
40e918d |
- Update to 2.10.4
|
|
Nick Bebout |
40e918d |
|
|
Jonathan |
4bbd089 |
* Mon Nov 07 2022 Jonathan Wright <jonathan@almalinux.org> - 2.10.3-1
|
|
Jonathan |
4bbd089 |
- update to 2.10.3 rhbz#2125087
|
|
Jonathan |
4bbd089 |
|
|
Jonathan |
352be95 |
* Thu Sep 01 2022 Jonathan Wright <jonathan@almalinux.org> - 2.9.12-1
|
|
Jonathan |
352be95 |
- update to 2.9.12
|
|
Jonathan |
352be95 |
- rhbz#2118035
|
|
Jonathan |
352be95 |
|
|
|
b44c8e9 |
* Tue Jul 26 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 2.9.11-1
|
|
|
b44c8e9 |
- update to 2.9.11
|
|
|
b44c8e9 |
|
|
|
c169241 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.15-7
|
|
|
c169241 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
c169241 |
|
|
|
77d3b65 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.8.15-6
|
|
|
77d3b65 |
- Rebuilt for Python 3.11
|
|
|
77d3b65 |
|
|
|
6251c67 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.15-5
|
|
|
6251c67 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
6251c67 |
|
|
|
1b3204e |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.15-4
|
|
|
1b3204e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
1b3204e |
|
|
|
57eb3e1 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.8.15-3
|
|
|
57eb3e1 |
- Rebuilt for Python 3.10
|
|
|
57eb3e1 |
|
|
|
932c7ed |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.15-2
|
|
|
932c7ed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
932c7ed |
|
|
|
e50c4df |
* Tue Jan 5 2021 Felix Schwarz <fschwarz@fedoraproject.org> - 2.8.15-1
|
|
|
e50c4df |
- update to 2.8.15
|
|
|
e50c4df |
|
|
|
2fdbea1 |
* Tue Aug 18 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 2.8.13-1
|
|
|
2fdbea1 |
- update to 2.8.13
|
|
|
2fdbea1 |
|
|
|
e816c9d |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.3-2
|
|
|
e816c9d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
e816c9d |
|
|
|
35e621d |
* Fri Jun 26 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 2.8.3-1
|
|
|
35e621d |
- update to 2.8.3 (#1849241)
|
|
|
35e621d |
|
|
|
7cac721 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.7.1-2
|
|
|
7cac721 |
- Rebuilt for Python 3.9
|
|
|
7cac721 |
|
|
|
cf452ac |
* Wed May 13 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 2.7.1-1
|
|
|
cf452ac |
- update to 2.7.1
|
|
|
cf452ac |
|
|
|
aedf5ea |
* Wed May 06 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 2.6.5-3
|
|
|
aedf5ea |
- fix man page
|
|
|
aedf5ea |
|
|
|
3cc7e74 |
* Tue Apr 28 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 2.6.5-2
|
|
|
3cc7e74 |
- add missing sources
|
|
|
3cc7e74 |
|
|
|
f0f8441 |
* Tue Apr 28 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 2.6.5-1
|
|
|
f0f8441 |
- update to 2.6.5
|
|
|
f0f8441 |
|
|
|
391b8d5 |
* Tue Apr 28 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 2.6.0-2
|
|
|
391b8d5 |
- enable GPG verification of sources
|
|
|
391b8d5 |
|
|
|
24baad5 |
* Fri Jan 31 2020 Felix Schwarz <felix.schwarz@oss.schwarz.eu> - 2.6.0-1
|
|
|
24baad5 |
- Update to 2.6.0
|
|
|
24baad5 |
|
|
|
a9e39cb |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-6
|
|
|
a9e39cb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
a9e39cb |
|
|
|
28a14c2 |
* Mon Oct 07 2019 Eli Young <elyscape@gmail.com> - 2.3.0-5
|
|
|
28a14c2 |
- Support EPEL8 builds
|
|
|
28a14c2 |
|
|
|
122b719 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.3.0-4
|
|
|
122b719 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
122b719 |
|
|
|
20c54f8 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.3.0-3
|
|
|
20c54f8 |
- Rebuilt for Python 3.8
|
|
|
20c54f8 |
|
|
|
9c7348a |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
|
|
|
9c7348a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
9c7348a |
|
|
|
1d02180 |
* Mon Jul 01 2019 Eli Young <elyscape@gmail.com> - 2.3.0-1
|
|
|
1d02180 |
- Update to 2.3.0 (#1712059)
|
|
|
1d02180 |
|
|
|
504501f |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-12
|
|
|
504501f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
504501f |
|
|
|
1816765 |
* Thu Dec 13 2018 Eli Young <elyscape@gmail.com> - 2.1.0-11
|
|
|
1816765 |
- Remove Python 2 package in Fedora 30+ (#1658535)
|
|
|
1816765 |
|
|
|
12a09ce |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-10
|
|
|
12a09ce |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
12a09ce |
|
|
|
53d162e |
* Fri Jul 06 2018 Eli Young <elyscape@gmail.com> - 2.1.0-9
|
|
|
53d162e |
- Simplify example removal
|
|
|
53d162e |
|
|
|
c53affe |
* Fri Jun 29 2018 Eli Young <elyscape@gmail.com> - 2.1.0-8
|
|
|
c53affe |
- Remove unnecessary shebangs
|
|
|
c53affe |
|
|
|
4d21bb5 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-7
|
|
|
4d21bb5 |
- Rebuilt for Python 3.7
|
|
|
4d21bb5 |
|
|
|
5924d9f |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-6
|
|
|
5924d9f |
- Rebuilt for Python 3.7
|
|
|
5924d9f |
|
|
|
c6798d7 |
* Wed Apr 04 2018 Eli Young <elyscape@gmail.com> - 2.1.0-5
|
|
|
c6798d7 |
- Fix man page permissions
|
|
|
c6798d7 |
|
|
|
ecfa22e |
* Wed Apr 04 2018 Eli Young <elyscape@gmail.com> - 2.1.0-4
|
|
|
ecfa22e |
- Add cli4 man page
|
|
|
ecfa22e |
|
|
|
0400909 |
* Wed Apr 04 2018 Eli Young <elyscape@gmail.com> - 2.1.0-3
|
|
|
0400909 |
- Remove example scripts from egg info
|
|
|
bbe0886 |
- Remove unnecessary shebangs
|
|
|
0400909 |
|
|
|
050715a |
* Wed Apr 04 2018 Eli Young <elyscape@gmail.com> - 2.1.0-2
|
|
|
050715a |
- Fix python3 package dependencies (#1563427)
|
|
|
050715a |
|
|
|
edbe972 |
* Tue Mar 27 2018 Eli Young <elyscape@gmail.com> - 2.1.0-1
|
|
|
edbe972 |
- Update to 2.1.0 (#1560758)
|
|
|
edbe972 |
|
|
Nick Bebout |
1ce4cdc |
* Mon Feb 26 2018 Nick Bebout <nb@usi.edu> - 2.0.4-2
|
|
Nick Bebout |
1ce4cdc |
- Add python2- prefix where available
|
|
Nick Bebout |
1ce4cdc |
|
|
|
1f94776 |
* Fri Feb 16 2018 Eli Young <elyscape@gmail.com> - 2.0.4-1
|
|
|
1f94776 |
- Initial package (#1546297)
|