# Generated by go2rpm %bcond_without check # Tests wants to talk to developers.cloudflare.com %bcond_with network # https://github.com/cloudflare/cloudflare-go %global goipath github.com/cloudflare/cloudflare-go Version: 0.21.0 %gometa %global common_description %{expand: A Go library for interacting with Cloudflare's API v4. This library allows you to: - Manage and automate changes to your DNS records within Cloudflare - Manage and automate changes to your zones (domains) on Cloudflare, including adding new zones to your account - List and modify the status of WAF (Web Application Firewall) rules for your zones - Fetch Cloudflare's IP ranges for automating your firewall whitelisting A command-line client, flarectl, is also available as part of this project.} %global golicenses LICENSE %global godocs CODE_OF_CONDUCT.md README.md Name: %{goname} Release: 6%{?dist} Summary: Go library for the Cloudflare v4 API # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/olekukonko/tablewriter) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(github.com/urfave/cli/v2) BuildRequires: golang(golang.org/x/net/idna) BuildRequires: golang(golang.org/x/time/rate) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with network} %if %{with check} %check %gocheck %endif %endif %files %license LICENSE %doc CODE_OF_CONDUCT.md README.md cmd/flarectl/README.md %{_bindir}/* %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering - 0.21.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.21.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 0.21.0-4 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin - 0.21.0-3 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Thu Jan 20 2022 Fedora Release Engineering - 0.21.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Aug 26 2021 Fabian Affolter - 0.210-1 - Update to latest upstream release 0.21.0 (closes rhbz#1974334) * Thu Jul 22 2021 Fedora Release Engineering - 0.17.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 31 18:05:00 CEST 2021 Robert-André Mauchin - 0.17.0-1 - Update to 0.17.0 - Close: rhbz#1921567 * Tue Jan 26 2021 Fedora Release Engineering - 0.13.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 7 16:28:33 CET 2021 Robert-André Mauchin - 0.13.7-1 - Update to 0.13.7 - Close: rhbz#1912621 * Fri Jan 1 20:21:11 CET 2021 Robert-André Mauchin - 0.13.6-1 - Update to 0.13.6 - Close: rhbz#1862653 * Mon Jul 27 2020 Fedora Release Engineering - 0.11.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Feb 12 00:47:07 CET 2020 Robert-André Mauchin - 0.11.1-1 - Update to 0.11.1 * Tue Jan 28 2020 Fedora Release Engineering - 0.9.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.9.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 02 17:58:44 CEST 2019 Robert-André Mauchin - 0.9.2-1 - Release 0.9.2 * Tue Apr 30 2019 Carl George - 0.9.1-1 - Latest upstream * Thu Jan 31 2019 Fedora Release Engineering - 0.8.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Nov 13 2018 Carl George - 0.8.5-1 - Initial package