On Sat, Nov 5, 2016 at 1:10 PM arnaud gaboury <arnaud.gaboury(a)gmail.com>
wrote:
I am writing a .spec file to build an app written in GO.
$ fedpkg --dist f24 local
error: Failed build dependencies:
compiler(go-compiler) is needed by
mattermost-3.4-0.1.gitf79f607.fc24.x86_64
Could not execute local: Non zero exit
# dnf install go-compiler
Last metadata expiration check: 0:26:15 ago on Sat Nov 5 12:39:05 2016.
No package go-compiler available.
There is a "go-compilers" (note the s at the end) which exists[0]
# dnf install go-compilers
Last metadata expiration check: 0:27:22 ago on Sat Nov 5 12:39:05 2016.
No package go-compilers available.
???? How can I solve this dependecy issue ? I have everything installed to
build the package as
After a closer look, I write my spec file with the help of the one given by
the gofed command[1]:
BuildRequires:
%{?go_compiler:compiler(go-compilers)}%{!?go_compiler:golang}
As you can see, the "s" is missing here.
But this does not solve the fact I can't dnf install go-compilers.
Thank you for help