mooz added a new comment to an issue you are following:
``
rpmbuild doesn't appear to want to give me any verbosity, I ran it with the --showrc
flag and it looks to be stopping at the forgesource if statement below:
```
-- All the Go packaging automation relies on goipath being set
local goipath = rpm.expand("%{?goipath}")
if (goipath == "") then
rpm.expand("%{error:Please set the Go import path in the “goipath” variable before
calling “gometa”!}")
end
-- Compute and set spec variables
if (forgeurl ~= "") then
rpm.expand("%forgemeta %{?-v} %{?-i} %{?-s} %{?-p} -u " .. forgeurl ..
"\n")
safeset("gourl", forgeurl)
else
safeset("gourl", "https://" .. goipath)
rpm.expand("%forgemeta %{?-v} %{?-i} -s %{?-p} -u %{gourl}\n")
end
if (rpm.expand("%{?forgesource}") ~= "") then
safeset("gosource", "%{forgesource}")
else
safeset("gosource", "%{gourl}/%{archivename}.%{archiveext}")
end
safeset("goname", "%gorpmname %{goipath}")
rpm.define("gosetup %forgesetup")
```
I'm currently using the specfile from the latest Fedora koji build of
[
golang-github-jedisct1-clocksmith](https://koji.fedoraproject.org/koji/bu....
I took a look at your patch for redhat-rpm-config and it would seem to patch it against
EL7 would need a little work since the patch is primarily against a Fedora build (not sure
if that's what you meant by your last paragraph). I wasn't able to build the
package in your copr on a mostly stock EL7 rpmbuild environment. But yes, whenever you get
the time I'll be happy to test it again later.
``
To reply, visit the link below or just reply to this email
https://pagure.io/go-rpm-macros/issue/4