https://bugzilla.redhat.com/show_bug.cgi?id=1654881
Robert-André Mauchin zebob.m@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zebob.m@gmail.com
--- Comment #1 from Robert-André Mauchin zebob.m@gmail.com --- - %defattr(-,root,root,-): This is not needed
- I don't understand the point of:
%dir %attr(755,root,root) %{gopath}/src/%{goipath} %{gopath}/src/%{goipath}/*.go %{gopath}/src/%{goipath}/pdfpasswd/*.go
All the files should already be specified in devel.file-list and thus do not need to be specified manually.
- Why is there a trailing "toolchain." in the common description?
- Upstream provides releases: https://github.com/rsc/pdf/releases
You should use them:
%global goipath rsc.io/pdf %global forgeurl https://github.com/rsc/pdf Version: 0.1.1
%global common_description %{expand: PDF reader implemented in Go.}
%gometa
Name: %{goname} Release: 1%{?dist}