## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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.15.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/coder/websocket %global goipath github.com/coder/websocket Version: 1.8.12 %gometa -L -f %global common_description %{expand: Minimal and idiomatic WebSocket library for Go.} %global golicenses LICENSE.txt %global godocs README.md Name: golang-github-coder-websocket Release: %autorelease Summary: Minimal and idiomatic WebSocket library for Go License: ISC URL: %{gourl} Source: %{gosource} # Fix build on Go 1.24. # Submitted upstream as https://github.com/coder/websocket/pull/508 Patch0001: 0001-Fix-build-with-Go-1.24.patch %description %{common_description} %gopkg %prep %goprep -A # Remove benchmark and examples to avoid extra deps rm -rf internal/examples internal/thirdparty %autopatch -p1 %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %install %gopkginstall %if %{without bootstrap} %if %{with check} %check %gocheck %endif %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Wed Jul 23 2025 Fedora Release Engineering - 1.8.12-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jan 21 2025 W. Michael Petullo - 1.8.12-4 - Fix build with Go 1.24 * Fri Jan 17 2025 Fedora Release Engineering - 1.8.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Jan 01 2025 W. Michael Petullo - 1.8.12-2 - Remove deactivation of thirdparty checks * Wed Jan 01 2025 W. Michael Petullo - 1.8.12-1 - Initial import (fedora#2335183) ## END: Generated by rpmautospec