## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 10; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.3 %bcond_without check # https://github.com/go-acme/lego %global goipath github.com/go-acme/lego/v3 Version: 3.9.0 %gometa %global common_description %{expand: Let's Encrypt client and ACME library written in Go.} %global golicenses LICENSE %global godocs docs CONTRIBUTING.md CHANGELOG.md README.md Name: %{goname} Release: %autorelease Summary: Let's Encrypt client and ACME library written in Go License: MIT URL: %{gourl} Source0: %{gosource} # Remove version which is not provided anymore by linodego Patch0: 0001-Remove-version-which-is-not-provided-anymore-by-lino.patch # To use newer Cloudfare Patch1: 0001-chore-update-dependencies.patch # https://github.com/nrdcg/desec/commit/063e1baedebfb7d1e6446b1fd8670eb9091387ad Patch2: 0001-desec-bump-to-0.6.0.patch BuildRequires: golang(cloud.google.com/go/compute/metadata) BuildRequires: golang(github.com/akamai/AkamaiOPEN-edgegrid-golang/configdns-v1) BuildRequires: golang(github.com/akamai/AkamaiOPEN-edgegrid-golang/configdns-v2) BuildRequires: golang(github.com/akamai/AkamaiOPEN-edgegrid-golang/edgegrid) BuildRequires: golang(github.com/aliyun/alibaba-cloud-sdk-go/sdk) BuildRequires: golang(github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials) BuildRequires: golang(github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests) BuildRequires: golang(github.com/aliyun/alibaba-cloud-sdk-go/services/alidns) BuildRequires: golang(github.com/aws/aws-sdk-go/aws) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/client) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/request) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/session) BuildRequires: golang(github.com/aws/aws-sdk-go/service/lightsail) BuildRequires: golang(github.com/aws/aws-sdk-go/service/route53) BuildRequires: golang(github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2017-09-01/dns) BuildRequires: golang(github.com/Azure/go-autorest/autorest) BuildRequires: golang(github.com/Azure/go-autorest/autorest/azure) BuildRequires: golang(github.com/Azure/go-autorest/autorest/azure/auth) BuildRequires: golang(github.com/Azure/go-autorest/autorest/to) BuildRequires: golang(github.com/BurntSushi/toml) BuildRequires: golang(github.com/cenkalti/backoff/v4) BuildRequires: golang(github.com/cloudflare/cloudflare-go) BuildRequires: golang(github.com/cpu/goacmedns) BuildRequires: golang(github.com/dnsimple/dnsimple-go/dnsimple) BuildRequires: golang(github.com/exoscale/egoscale) BuildRequires: golang(github.com/google/go-querystring/query) BuildRequires: golang(github.com/gophercloud/gophercloud) BuildRequires: golang(github.com/gophercloud/gophercloud/openstack) BuildRequires: golang(github.com/gophercloud/gophercloud/openstack/dns/v2/recordsets) BuildRequires: golang(github.com/gophercloud/gophercloud/openstack/dns/v2/zones) BuildRequires: golang(github.com/gophercloud/utils/openstack/clientconfig) BuildRequires: golang(github.com/iij/doapi) BuildRequires: golang(github.com/iij/doapi/protocol) BuildRequires: golang(github.com/labbsr0x/bindman-dns-webhook/src/client) BuildRequires: golang(github.com/linode/linodego) BuildRequires: golang(github.com/liquidweb/liquidweb-go/client) BuildRequires: golang(github.com/liquidweb/liquidweb-go/network) BuildRequires: golang(github.com/miekg/dns) BuildRequires: golang(github.com/namedotcom/go/namecom) BuildRequires: golang(github.com/nrdcg/auroradns) BuildRequires: golang(github.com/nrdcg/desec) BuildRequires: golang(github.com/nrdcg/dnspod-go) BuildRequires: golang(github.com/nrdcg/goinwx) BuildRequires: golang(github.com/nrdcg/namesilo) BuildRequires: golang(github.com/OpenDNS/vegadns2client) BuildRequires: golang(github.com/oracle/oci-go-sdk-24/common) BuildRequires: golang(github.com/oracle/oci-go-sdk-24/dns) BuildRequires: golang(github.com/ovh/go-ovh/ovh) BuildRequires: golang(github.com/pquerna/otp/totp) BuildRequires: golang(github.com/rainycape/memcache) BuildRequires: golang(github.com/sacloud/libsacloud/api) BuildRequires: golang(github.com/sacloud/libsacloud/sacloud) BuildRequires: golang(github.com/timewasted/linode/dns) BuildRequires: golang(github.com/transip/gotransip/v6) BuildRequires: golang(github.com/transip/gotransip/v6/domain) BuildRequires: golang(github.com/urfave/cli) BuildRequires: golang(github.com/vultr/govultr) BuildRequires: golang(golang.org/x/crypto/ocsp) BuildRequires: golang(golang.org/x/net/context) BuildRequires: golang(golang.org/x/net/idna) BuildRequires: golang(golang.org/x/net/publicsuffix) BuildRequires: golang(golang.org/x/oauth2) BuildRequires: golang(golang.org/x/oauth2/clientcredentials) BuildRequires: golang(golang.org/x/oauth2/google) BuildRequires: golang(google.golang.org/api/dns/v1) BuildRequires: golang(google.golang.org/api/googleapi) BuildRequires: golang(google.golang.org/api/option) BuildRequires: golang(gopkg.in/ns1/ns1-go.v2/rest) BuildRequires: golang(gopkg.in/ns1/ns1-go.v2/rest/model/dns) BuildRequires: golang(gopkg.in/square/go-jose.v2) BuildRequires: golang(gopkg.in/square/go-jose.v2/jwt) %if %{with check} # Tests BuildRequires: golang(github.com/aws/aws-sdk-go/aws/credentials) BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/mock) BuildRequires: golang(github.com/stretchr/testify/require) BuildRequires: golang(github.com/stretchr/testify/suite) BuildRequires: golang(github.com/timewasted/linode) BuildRequires: golang(github.com/transip/gotransip/v6/rest) BuildRequires: golang(gopkg.in/yaml.v2) %endif %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %patch1 -p1 %patch2 -p1 sed -i "s|github.com/oracle/oci-go-sdk|github.com/oracle/oci-go-sdk-24|" $(find . -name "*.go" -type f) %install %gopkginstall %if %{with check} %check # Needs network %gocheck -d challenge/dns01 \ -t providers/dns \ -d platform/wait \ -d challenge/resolver %endif %gopkgfiles %changelog * Wed Aug 10 2022 Maxwell G 3.9.0-10 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering 3.9.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Robert-André Mauchin 3.9.0-8 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Tue Feb 22 2022 Robert-André Mauchin 3.9.0-7 - Fix FTBFS with patch to use last desec Close: rhbz#2045464 * Thu Jan 20 2022 Fedora Release Engineering 3.9.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jul 31 2021 Robert-André Mauchin 3.9.0-5 - Fix FTBFS Close: rhbz#1987512 * Thu Jul 22 2021 Fedora Release Engineering - 3.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 3.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 16 02:24:48 CET 2020 Robert-André Mauchin - 3.9.0-1 - Initial package