# Generated by go2rpm 1.3 %bcond_without check # https://github.com/xaionaro-go/unsafetools %global goipath github.com/xaionaro-go/unsafetools %global commit 4686db630395367dffebe4dc767686d62cc55e73 %gometa %global common_description %{expand: This package provides a FieldByName function to access to any field (including private/unexported) of a structure. This is meant to be used for unit-tests only.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Access to private/unexported fields of a structure # Upstream license specification: CC0-1.0 License: CC0 URL: %{gourl} Source0: %{gosource} %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon May 17 2021 Davide Cavalca - 0-0.1.20210517git4686db6 - Initial package