https://bugzilla.redhat.com/show_bug.cgi?id=1380420
--- Comment #2 from Lokesh Mandvekar lsm5@redhat.com --- (In reply to Jan Chaloupka from comment #1)
Change
%gobuild -o bin/%{name} %{import_path}
to
%gobuild -o bin/%{name} %{import_path}/cmd/gomtree
Otherwise rpmlint complains about shebang. Otherwise LGTM:
No big deal to me either way, but just curious where you're seeing this in rpmlint. I don't seem to see this anywhere. I'm on rawhide if it matters. See:
$ rpmlint SRPMS/gomtree-0-0.1.git8c6b32c.fc26.src.rpm RPMS/* gomtree.spec gomtree.src: W: spelling-error Summary(en_US) mtree -> tree, m tree gomtree.src: W: spelling-error %description -l en_US mtree -> tree, m tree gomtree-devel.noarch: W: spelling-error Summary(en_US) mtree -> tree, m tree gomtree-devel.noarch: W: spelling-error %description -l en_US mtree -> tree, m tree gomtree-devel.noarch: W: spelling-error %description -l en_US github -> git hub, git-hub, GitHub gomtree.x86_64: W: spelling-error Summary(en_US) mtree -> tree, m tree gomtree.x86_64: W: spelling-error %description -l en_US mtree -> tree, m tree gomtree.x86_64: W: binaryinfo-readelf-failed /usr/bin/gomtree gomtree.x86_64: W: no-manual-page-for-binary gomtree gomtree-unit-test-devel.x86_64: W: spelling-error %description -l en_US github -> git hub, git-hub, GitHub gomtree-unit-test-devel.x86_64: W: spelling-error %description -l en_US mtree -> tree, m tree 4 packages and 1 specfiles checked; 0 errors, 11 warnings.