# Generated by go2rpm 1.14.0 %bcond check 1 %bcond bootstrap 0 %global debug_package %{nil} %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/wasilibs/go-re2 %global goipath github.com/wasilibs/go-re2 Version: 1.8.0 %gometa -L -f %global common_description %{expand: Drop-in replacement for regexp using re2, for any Go app.} %global golicenses LICENSE NOTICE.txt %global godocs CODE_OF_CONDUCT.md RATIONALE.md README.md\ %global gosupfiles internal/wasm/libcre2.wasm internal/wasm/memory.wasm Name: golang-github-wasilibs-re2 Release: %autorelease Summary: Drop-in replacement for regexp using re2, for any Go app License: MIT AND BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 rm -rf build internal/e2e/ wafbench %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %install %gopkginstall %if %{without bootstrap} %if %{with check} %check %gocheck %endif %endif %gopkgfiles %changelog %autochangelog