## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; 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.8.1 %bcond_without check %global debug_package %{nil} # https://github.com/intel-go/cpuid %global goipath github.com/intel-go/cpuid %global commit 219e067757cbc0ddb71908b19826ddca4177987d %gometa -f %global common_description %{expand: Intel CPUID library for Go Programming Language.} %global golicenses LICENSE %global godocs example README.md Name: %{goname} Version: 0 Release: %autorelease -p Summary: Intel CPUID library for Go Programming Language License: BSD-3-Clause URL: %{gourl} Source: %{gosource} # PR#23: Fix compile on non-amd64 arch Patch: %{url}/pull/23.patch # PR#24: Add go.mod file Patch: %{url}/pull/24.patch %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Oct 05 2022 Davide Cavalca 0-0.6 - Update to git snapshot 219e067; Fixes: RHBZ#2113322 * Thu Jul 21 2022 Fedora Release Engineering - 0-0.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0-0.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0-0.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 18 2021 Davide Cavalca - 0-0.1.20210618git5747e5c - Initial package