## START: Set by rpmautospec ## (rpmautospec version 0.8.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.16.0 %bcond check 1 %bcond bootstrap 0 %if %{with bootstrap} %global debug_package %{nil} %endif %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/tetratelabs/wazero %global goipath github.com/tetratelabs/wazero Version: 1.9.0 %gometa -L -f %global common_description %{expand: WebAssembly is a way to safely run code compiled in other languages. Runtimes execute WebAssembly Modules (Wasm), which are most often binaries with a .wasm extension. wazero is a WebAssembly Core Specification 1.0 and 2.0 compliant runtime written in Go. It has zero dependencies, and doesn't rely on CGO. This means you can run applications in other languages and still keep cross compilation.} %global golicenses LICENSE NOTICE %global godocs examples CONTRIBUTING.md RATIONALE.md README.md Name: golang-github-tetratelabs-wazero Release: %autorelease Summary: Wazero: the zero dependency WebAssembly runtime for Go developers License: Apache-2.0 URL: %{gourl} Source: %{gosource} # https://github.com/tetratelabs/wazero/issues/2409 Patch: 0001-Skip-Nlink-test-in-TestStat.patch # https://github.com/tetratelabs/wazero/pull/2411 Patch: 0002-Skip-custom-context-host-test-if-compiler-unsupporte.patch # https://github.com/tetratelabs/wazero/pull/2410 Patch: 0003-Ensure-interpreter.Engine-is-empty-after-closing.patch # https://github.com/tetratelabs/wazero/pull/2412 Patch: 0004-Add-ppc64le-s390x-Linux-to-supported-stat-implementa.patch # https://github.com/tetratelabs/wazero/pull/2415 Patch: 0005-TST-Increase-buffer-size-of-TestWriteFdNonblock.patch # https://github.com/tetratelabs/wazero/issues/2413#issuecomment-3172806637 Patch: 0006-TST-Pin-test-stacks-in-TestAdjustClonedStack.patch %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %if %{without bootstrap} %build export GO_LDFLAGS='-X %{goipath}/internal/version.version=%{version}' for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %endif %install %gopkginstall %if %{without bootstrap} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %endif %if %{without bootstrap} %if %{with check} %check %gocheck -t internal/integration_test/spectest %endif %endif %if %{without bootstrap} %files %license LICENSE NOTICE %doc CONTRIBUTING.md RATIONALE.md cmd/wazero/README.md %{_bindir}/wazero %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Fri Aug 15 2025 Maxwell G - 1.9.0-4 - Rebuild for golang-1.25.0 * Sun Aug 10 2025 Elliott Sales de Andrade - 1.9.0-3 - Fix tests on Go 1.25 * Sat Aug 02 2025 Elliott Sales de Andrade - 1.9.0-1 - Update to latest version (#2346434) * Thu Jul 24 2025 Fedora Release Engineering - 1.8.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Fri Jan 17 2025 Fedora Release Engineering - 1.8.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Dec 23 2024 Elliott Sales de Andrade - 1.8.2-2 - Enable Packit automation * Mon Dec 23 2024 Elliott Sales de Andrade - 1.8.2-1 - import rhbz#2323548 ## END: Generated by rpmautospec