# Generated by go2rpm 1.1 %bcond_without check # https://github.com/shurcooL/githubv4 %global goipath github.com/shurcooL/githubv4 %global commit bc5e4feb2971a151ff59af94df558875d5c79aa4 %gometa %global common_description %{expand: Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://developer.github.com/v4/).} %global golicenses LICENSE %global godocs example README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: A client library for accessing GitHub GraphQL API v4 License: MIT URL: %{gourl} Source0: %{gosource} # BuildRequires: golang(github.com/shurcooL/graphql) # Use GitHub's fork until https://github.com/shurcooL/graphql/pull/57 gets merged. BuildRequires: golang(github.com/cli/shurcooL-graphql) BuildRequires: golang(golang.org/x/oauth2) %description %{common_description} %gopkg %prep %goprep # Use GitHub's fork until https://github.com/shurcooL/graphql/pull/57 gets merged. sed -i 's|github.com/shurcooL/graphql|github.com/cli/shurcooL-graphql|' $(find . -name "*.go" -type f) %install %gopkginstall %if %{with check} %check %gocheck %endif %files %license LICENSE %doc example README.md %gopkgfiles %changelog * Wed Sep 23 12:38:28 CDT 2020 Joe Doss - 0-0.1.20200923gitbc5e4fe - Initial package