https://bugzilla.redhat.com/show_bug.cgi?id=2176241
--- Comment #14 from Mikel Olasagasti Uranga mikel@olasagasti.info --- If I download the "SRPM URL" .src.rpm file, using link in comment #12, I still see the rpmautospec block at the top and the changelog.
fedora-review also reports the issue:
Diff spec file in url and in SRPM --------------------------------- --- /tmp/2176241-golang-github-zcalusic-sysinfo/srpm/golang-github-zcalusic-sysinfo.spec 2023-03-14 16:53:58.632705568 +0100 +++ /tmp/2176241-golang-github-zcalusic-sysinfo/srpm-unpacked/golang-github-zcalusic-sysinfo.spec 2023-03-14 16:34:25.000000000 +0100 @@ -1,2 +1,12 @@ +## 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 + # Generated by go2rpm 1.9.0 %bcond_without check @@ -50,3 +60,4 @@
%changelog -%autochangelog +* Tue Mar 14 2023 Link Dupont link@sub-pop.net - 0.9.5-1 +- Intitial package