## START: Set by rpmautospec ## (rpmautospec version 0.5.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # 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 # Remove unnecessary files rm examples/bcc/perf/.gitignore examples/tracepipe/.gitignore %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Wed Jan 24 2024 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jul 09 2023 Davide Cavalca - 0.2.0-1 - Initial import; Fixes: RHBZ#2208361 ## END: Generated by rpmautospec