https://bugzilla.redhat.com/show_bug.cgi?id=2256310
Mikel Olasagasti Uranga <mikel(a)olasagasti.info> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |mikel(a)olasagasti.info
--- Comment #3 from Mikel Olasagasti Uranga <mikel(a)olasagasti.info> ---
%build
for cmd in gen; do
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
done
%install
%gopkginstall
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
(...)
%files
%license LICENSE
%doc README.md gen/truststore_other.go.txt
%{_bindir}/*
The binary in gen is a testing tool not required to be present in the system to
build Hugo (correct me if I'm wrong). Thus, it's better only to install the
library.
You'll need to add "%global debug_package %{nil}" once removed the binary
part.
I would also recommend to delete the `gen` dir in %prep, as it add some
dependencies that are not required if the binary is not built.
--
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2256310
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...