# Generated by go2rpm 1.12.0 %bcond_without check %global debug_package %{nil} # https://github.com/jouyouyun/hardware %global goipath github.com/jouyouyun/hardware Version: 0.1.8 %gometa -L -f %global common_description %{expand: Hardware Info For Linux.} %global golicenses LICENSE %global godocs examples README.org Name: golang-github-jouyouyun-hardware Release: %autorelease Summary: Hardware Info For Linux License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check # failed to new network from testdata %gocheck -d network %endif %gopkgfiles %changelog %autochangelog