https://bugzilla.redhat.com/show_bug.cgi?id=1164170

Jan Chaloupka <jchal...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |needinfo?(l...@redhat.com)



--- Comment #2 from Jan Chaloupka <jchal...@redhat.com> ---
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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to