## 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.5.0 %bcond_without check # https://github.com/aykevl/go-wasm %global goipath github.com/aykevl/go-wasm %global commit 737a6f6c9d1911ad8e2381a84b30ade8b0d075da %gometa %global common_description %{expand: WebAssembly binary file parser written in go.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: %autorelease -p Summary: WebAssembly binary file parser License: MIT URL: %{gourl} Source0: %{gosource} # https://github.com/aykevl/go-wasm/pull/1 Patch0001: 0001-Fix-incorrect-format-specifier-in-test-Errorf.patch %description %{common_description} %gopkg %prep %goprep %patch0001 -p1 # Remove the binary, as this package is only used for the Go library, and the # binary can come from the original fork, if needed. # It also causes an unfulfilled dependency on the original repo, since the # import is not patched. rm -r cmd/ %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Fri Jun 17 2022 Robert-André Mauchin 0-0.2 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Wed Feb 02 2022 Elliott Sales de Andrade 0-0.1 - import #2036472