# Generated by go2rpm 1 %bcond_without check # https://github.com/dghubble/go-twitter %global goipath github.com/dghubble/go-twitter/twitter %global commit 39e5462e111ffe165c62a88e2c25e1c1d1085bdb %gometa %global common_description %{expand: go-twitter is a Go client library for the Twitter API.} %global golicenses LICENSE %global godocs CHANGES.md README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Client library for the Twitter API License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/cenkalti/backoff) BuildRequires: golang(github.com/coreos/pkg/flagutil) BuildRequires: golang(github.com/dghubble/oauth1) BuildRequires: golang(github.com/dghubble/sling) BuildRequires: golang(golang.org/x/oauth2) BuildRequires: golang(golang.org/x/oauth2/clientcredentials) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Apr 08 2020 Fabian Affolter - 0-0.1.20200408git39e5462 - Initial package