## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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.14.0 # testing brittle on non x86 %ifarch x86_64 %bcond check 1 %else %bcond check 0 %endif %global debug_package %{nil} # https://github.com/x448/float16 %global goipath github.com/x448/float16 Version: 0.8.4 %gometa -L -f %global common_description %{expand: x448/float16 package provides IEEE 754 half-precision floating-point format (binary16) with IEEE 754 default rounding for conversions. IEEE 754-2008 refers to this 16-bit floating-point format as binary16. IEEE 754 default rounding ("Round-to-Nearest RoundTiesToEven") is considered the most accurate and statistically unbiased estimate of the true result. All possible 4+ billion floating-point conversions with this library are verified to be correct. Lowercase "float16" refers to IEEE 754 binary16. And capitalized "Float16" refers to exported Go data type. } %global golicenses LICENSE %global godocs README.md SECURITY.md Name: golang-github-x448-float16 Release: %autorelease Summary: Provides IEEE 754 half-precision format License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Fri Jan 17 2025 Fedora Release Engineering - 0.8.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Nov 16 2024 Tom Rix - 0.8.4-3 - Only test on x86_64 * Thu Oct 31 2024 Tom Rix - 0.8.4-2 - Fix https comment * Thu Oct 31 2024 Tom Rix - 0.8.4-1 - Initial package ## END: Generated by rpmautospec