# Generated by go2rpm %bcond_without check # https://github.com/akamai/AkamaiOPEN-edgegrid-golang %global goipath github.com/akamai/AkamaiOPEN-edgegrid-golang Version: 0.7.4 %gometa %global common_description %{expand: This library implements an Authentication handler for net/http that provides the Akamai OPEN Edgegrid Authentication scheme.} %global golicenses LICENSE %global godocs examples README.md Name: %{goname} Release: 1%{?dist} Summary: Authentication handler for the Akamai OPEN EdgeGrid Authentication scheme # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/go-ini/ini) BuildRequires: golang(github.com/google/go-querystring/query) BuildRequires: golang(github.com/google/uuid) BuildRequires: golang(github.com/mitchellh/go-homedir) BuildRequires: golang(github.com/sirupsen/logrus) BuildRequires: golang(github.com/xeipuuv/gojsonschema) %if %{with check} # Tests BuildRequires: golang(github.com/h2non/gock) BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check # client-v1: needs network %gocheck -d client-v1 %endif %gopkgfiles %changelog * Thu May 02 16:37:54 CEST 2019 Robert-André Mauchin - 0.7.4-1 - Initial package