# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/mdlayher/packet %global goipath github.com/mdlayher/packet Version: 1.1.2 %gometa -f %global common_description %{expand: Package packet provides access to Linux packet sockets (AF_PACKET). MIT Licensed.} %global golicenses LICENSE.md %global godocs CHANGELOG.md README.md Name: %{goname} Release: %autorelease Summary: Package packet provides access to Linux packet sockets (AF_PACKET) License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog