FAQ
RPM spec for building a go 1.1 rpm, tested on centos 6 and fedora 17 amd64.

https://github.com/serbaut/go-rpm-spec

Joakim

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Dave Cheney at May 15, 2013 at 9:53 pm
    Nice. Any chance of getting that into EPEL?
    On 16/05/2013, at 6:36, serbaut wrote:

    RPM spec for building a go 1.1 rpm, tested on centos 6 and fedora 17 amd64.

    https://github.com/serbaut/go-rpm-spec

    Joakim

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Serbaut at May 16, 2013 at 9:10 am
    I don't know the process for that but I might look into it if I get the
    time.
    On Wednesday, May 15, 2013 11:50:04 PM UTC+2, Dave Cheney wrote:

    Nice. Any chance of getting that into EPEL?

    On 16/05/2013, at 6:36, serbaut <ser...@gmail.com <javascript:>> wrote:

    RPM spec for building a go 1.1 rpm, tested on centos 6 and fedora 17 amd64.

    https://github.com/serbaut/go-rpm-spec

    Joakim

    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-nuts...@googlegroups.com <javascript:>.
    For more options, visit https://groups.google.com/groups/opt_out.


    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Serbaut at May 16, 2013 at 9:22 am
    Btw if you include a spec file in the src tarball (e.g.
    misc/packaging/rpm/go.spec) the rpm can be built directly from the source
    tarball with rpmbuild -tb go1.1.src.tar.gz
    On Wednesday, May 15, 2013 11:50:04 PM UTC+2, Dave Cheney wrote:

    Nice. Any chance of getting that into EPEL?

    On 16/05/2013, at 6:36, serbaut <ser...@gmail.com <javascript:>> wrote:

    RPM spec for building a go 1.1 rpm, tested on centos 6 and fedora 17 amd64.

    https://github.com/serbaut/go-rpm-spec

    Joakim

    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-nuts...@googlegroups.com <javascript:>.
    For more options, visit https://groups.google.com/groups/opt_out.


    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • 薛 鹏飞 at May 16, 2013 at 1:54 pm
    This example names all the files in the directory /etc/xtoolwait as part of the package. Be very careful when listing this directory. Do not include a system directory such as /usr/bin, as RPM will assume your package owns all of /usr/bin, which contains hundreds of commands. This can be a problem when you try to remove a package.

    http://doc.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch09s05s02.html


    --
    Sincerely,
    Pengfei Xue
    https://life-map.rhcloud.com

    在 2013-5-16,下午5:22,serbaut <serbaut@gmail.com> 写道:
    Btw if you include a spec file in the src tarball (e.g. misc/packaging/rpm/go.spec) the rpm can be built directly from the source tarball with rpmbuild -tb go1.1.src.tar.gz

    On Wednesday, May 15, 2013 11:50:04 PM UTC+2, Dave Cheney wrote:
    Nice. Any chance of getting that into EPEL?
    On 16/05/2013, at 6:36, serbaut wrote:

    RPM spec for building a go 1.1 rpm, tested on centos 6 and fedora 17 amd64.

    https://github.com/serbaut/go-rpm-spec

    Joakim


    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • 薛 鹏飞 at May 16, 2013 at 4:26 am
    %{_bindir}/*

    in your rpm spec, i find this line in %files section, it's a very
    dangerous line, you should limit it for just bins of golang, otherwise
    when you remove your package, it will remove the bins in that dir(/usr/bin/)

    --
    Sincerely,
    Pengfei Xue
    https://life-map.rhcloud.com

    在 2013-5-16,上午4:36,serbaut <serbaut@gmail.com> 写道:
    RPM spec for building a go 1.1 rpm, tested on centos 6 and fedora 17 amd64.

    https://github.com/serbaut/go-rpm-spec

    Joakim


    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Serbaut at May 16, 2013 at 9:09 am
    Only the installed files will be owned by the package, maybe you are
    thinking of %{_bindir} without /* where the directory would be owned by the
    package.

    http://fedoraproject.org/wiki/How_to_create_an_RPM_package
    On Thursday, May 16, 2013 6:17:35 AM UTC+2, Pengfei Xue wrote:

    %{_bindir}/*

    in your rpm spec, i find this line in %files section, it's a very
    dangerous line, you should limit it for just bins of golang, otherwise
    when you remove your package, it will remove the bins in that
    dir(/usr/bin/)

    --
    Sincerely,
    Pengfei Xue
    https://life-map.rhcloud.com

    在 2013-5-16,上午4:36,serbaut <ser...@gmail.com <javascript:>> 写道:

    RPM spec for building a go 1.1 rpm, tested on centos 6 and fedora 17 amd64.

    https://github.com/serbaut/go-rpm-spec

    Joakim


    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to golang-nuts...@googlegroups.com <javascript:>.
    For more options, visit https://groups.google.com/groups/opt_out.



    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedMay 15, '13 at 8:37p
activeMay 16, '13 at 1:54p
posts7
users3
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase