# Generated by go2rpm 1.15.0 %bcond check 1 %bcond bootstrap 0 %global debug_package %{nil} %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/bep/gitmap %global goipath github.com/bep/gitmap Version: 1.6.0 %gometa -L -f %global common_description %{expand: A fast way to create a map from all the filenames to info objects for a given revision of a Git repo.} %global golicenses LICENSE %global godocs README.md testfiles/amended.txt testfiles/r1.txt\\\ testfiles/r2.txt testfiles/r3.txt testfiles/d1/d1.txt\\\ testfiles/d2/d2.txt Name: golang-github-bep-gitmap Release: %autorelease Summary: A fast way to create a map from all the filenames to info objects for a given revision of a Git repo License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %install %gopkginstall %if %{without bootstrap} %if %{with check} %check # .: requires Git repository. %gocheck \ -d . %endif %endif %gopkgfiles %changelog %autochangelog