https://bugzilla.redhat.com/show_bug.cgi?id=1164170 Jan Chaloupka <jchaloup@xxxxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(lsm5@xxxxxxxxxx) --- Comment #2 from Jan Chaloupka <jchaloup@xxxxxxxxxx> --- As from http://www.rpm.org/max-rpm/s1-rpm-inside-files-list.html, third paragraph: "if the %files list contains a path to a directory, RPM will automatically package every file in that directory, as well as every file in each subdirectory" In this case, it will take all files and dirs copied to %{buildroot}/%{gopath}/src/%{import_path}/. What files/dirs are taken is decided in the install section: cp -pav *.go %{buildroot}/%{gopath}/src/%{import_path}/ So at the end, it will take just *.go files. What do you think Lokesh? Is this one of the correct ways how to handle packaged files or should this be more refined? -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review