# Generated by go2rpm %bcond_without check # https://github.com/mitchellh/reflectwalk %global goipath github.com/mitchellh/reflectwalk Version: 1.0.1 %gometa %global common_description %{expand: Reflectwalk is a Go library for "walking" a value in Go using reflection, in the same way a directory tree can be "walked" on the filesystem. Walking a complex structure can allow you to do manipulations on unknown structures such as those decoded from JSON.} %global golicenses LICENSE %global godocs README.md %global gosupfiles glide.lock glide.yaml Name: %{goname} Release: %mkrel 2 Summary: Go library for "walking" complex structures, similar to walking a filesystem Group: Development/Other License: MIT URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock BuildArch: noarch %description %{common_description} %gopkg %prep %goprep cp %{S:1} %{S:2} . %install %gopkginstall # Remove in F33 # Remove erroneous glide.lock folder %pretrans devel -p <lua> path = "%{gopath}/src/%{goipath}/glide.lock" st = posix.stat(path) if st and st.type == "directory" then os.remove(path) end %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon Mar 21 2022 umeabot <umeabot> 1.0.1-2.mga9 + Revision: 1815378 - Mageia 9 Mass Rebuild * Sun Nov 14 2021 guillomovitch <guillomovitch> 1.0.1-1.mga9 + Revision: 1756450 - imported package golang-github-mitchellh-reflectwalk