# Generated by go2rpm 1.10.0 %bcond_without check # https://github.com/bep/mclib %global goipath github.com/bep/mclib Version: 1.20400.20402 %gometa -L -f %global common_description %{expand: A simple library to make it possible to run Mkcert's main method.} %global golicenses LICENSE %global godocs README.md gen/truststore_other.go.txt Name: golang-github-bep-mclib Release: %autorelease Summary: A simple library to make it possible to run Mkcert's main method License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build for cmd in gen; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %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 gen/truststore_other.go.txt %{_bindir}/* %gopkgfiles %changelog %autochangelog