# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/iovisor/gobpf %global goipath github.com/iovisor/gobpf Version: 0.2.0 %gometa -f %global common_description %{expand: Go bindings for creating BPF programs.} %global golicenses COPYRIGHT.txt LICENSE-bpf.txt LICENSE.txt %global godocs examples CONTRIBUTING.md README.md\\\ Documentation/pinning.md %global godevelheader %{expand: Requires: bcc-devel } Name: %{goname} Release: %autorelease Summary: Go bindings for creating BPF programs License: GPL-2.0-only AND Apache-2.0 URL: %{gourl} Source: %{gosource} # [bcc] Support for new bcc_func_load signature Patch: %{url}/commit/0e5464f03ed2b72613e2e209e2fef8a4bbad5f30.patch BuildRequires: bcc-devel %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog