Blob Blame History Raw
# Generated by go2rpm 1
%bcond_without check

# https://github.com/dghubble/go-twitter
%global goipath         github.com/dghubble/go-twitter/twitter
%global commit          4b180d0cc78db653b2810d87f268590889f21a02

%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.3%{?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
* Sat Jan 09 16:50:41 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.3.20210109git4b180d0
- Bump to commit 4b180d0cc78db653b2810d87f268590889f21a02

* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Wed Apr 08 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0-0.1.20200408git39e5462
- Initial package