## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.6.0 # Needs privileges %bcond_with check # https://github.com/cilium/ebpf %global goipath github.com/cilium/ebpf Version: 0.8.0 %gometa %global common_description %{expand: EBPF Library for Go.} %global golicenses LICENSE %global godocs examples README.md CONTRIBUTING.md CODE_OF_CONDUCT.md\\\ ARCHITECTURE.md cmd/bpf2go/README.md Name: %{goname} Release: %autorelease Summary: EBPF Library for Go License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/bpf2go %{goipath}/cmd/bpf2go %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/bpf2go %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc examples README.md CONTRIBUTING.md CODE_OF_CONDUCT.md ARCHITECTURE.md %doc cmd/bpf2go/README.md %{_bindir}/bpf2go %gopkgfiles %changelog * Sat Jun 18 2022 Robert-André Mauchin 0.8.0-2 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Mon Jan 24 2022 Maxwell G 0.8.0-1 - Update to 0.8.0. Fixes rhbz#1963467. - Regenerate specfile and add new binary, bpf2go * Thu Jan 20 2022 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 8 23:21:32 CET 2021 Robert-André Mauchin - 0.3.0-1 - Update to 0.3.0 * Mon Jul 27 2020 Fedora Release Engineering - 0-0.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 24 23:27:31 CEST 2020 Robert-André Mauchin - 0-0.2.20200724git1c8d4c9 - Bump to commit 1c8d4c9ef7759622653a1d319284a44652333b28 * Thu Mar 05 15:15:28 CET 2020 Robert-André Mauchin - 0-0.1.20200305git5d50e74 - Initial package