https://bugzilla.redhat.com/show_bug.cgi?id=2176241
Mikel Olasagasti Uranga mikel@olasagasti.info changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|nobody@fedoraproject.org |mikel@olasagasti.info Doc Type|--- |If docs needed, set a value CC| |mikel@olasagasti.info Status|NEW |ASSIGNED Flags| |fedora-review?
--- Comment #1 from Mikel Olasagasti Uranga mikel@olasagasti.info ---
## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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
Is this block required nowadays?
%global golicenses LICENSE
You're missing cpuid/LICENSE, you can try with something like:
%global golicenses LICENSE cpuid-LICENSE (...) %install %gopkginstall mv cpuid/LICENSE cpuid-LICENSE (...) %license LICENSE cpuid-LICENSE
%changelog
- Tue Mar 07 2023 Link Dupont link@sub-pop.net - 0.9.5-1
- Intitial package
I suggest to use %autochangelog to make it easier to maintain the spec in the future, but not a hard requirement.