[Bug 1239273] Review Request: golang-github-BurntSushi-toml-test - Language agnostic test suite for TOML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #7 from Jan Chaloupka <jchaloup@xxxxxxxxxx> ---
> Shouldn't the -devel package require the main package?

No. As the main packages provides only binaries and once build it does not
depend on its source codes.

> will be located in /usr/share/gocode/src/github.com/BurntSushi/toml and
> the one for golang-github-BurntSushi-toml-test in
> /usr/share/gocode/src/github.com/BurntSushi/toml-test.

Ownership of /usr/share/gocode/src/github.com/BurntSushi directory is
interesting question. The same holds for
/usr/share/gocode/src/github.com/docker and other projects from the same
repository. At the moment this is unresolved. Golang compiler owns some
directories:
%dir %{gopath}/src/github.com/
%dir %{gopath}/src/bitbucket.org/
%dir %{gopath}/src/code.google.com/
%dir %{gopath}/src/code.google.com/p/

For gcc-go this no longer holds. The solution would be to create another noarch
package whose purpose would be only to own %{gopath}/src/github.com/,
%{gopath}/src/bitbucket.org/, %{gopath}/src/code.google.com/,
%{gopath}/src/code.google.com/p/ and continue with
%{gopath}/src/github.com/BurntSushi and %{gopath}/src/github.com/docker. Then
make it a dependency of golang and gcc-go. It does not make much sense to
install golang source codes without golang compiler.

-- 
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




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]