# Generated by go2rpm 1.9.0 %bcond_without check # https://github.com/RaveNoX/go-jsonmerge %global goipath github.com/RaveNoX/go-jsonmerge Version: 1.0.0 %global commit 0828c736138271f2395cda9396066feb8f91c9d6 %gometa -f %global common_description %{expand: Merge JSON objects to one (replaces only existent values).} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Merge JSON objects to one (replaces only existent values) License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/jsonmerge %{goipath}/cmd/jsonmerge %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}/jsonmerge %gopkgfiles %changelog %autochangelog