# Generated by go2rpm 1.2 %bcond_without check # https://github.com/x1sec/commit-stream %global goipath github.com/x1sec/commit-stream Version: 0.1.2 %gometa %global common_description %{expand: OSINT tool for finding Github repositories by extracting commit logs in real time from the Github event API.} %global golicenses LICENSE %global godocs README.md Name: commit-stream Release: 1%{?dist} Summary: Github event API consumer License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/google/go-github/github) BuildRequires: golang(golang.org/x/oauth2) %description %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/commit-stream %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc README.md %{_bindir}/* %gopkgfiles %changelog * Wed Oct 14 2020 Fabian Affolter - 0.1.2-1 - Initial package for Fedora