On Sat, Sep 17, 2005, Bill Campbell wrote:

> On Sat, Sep 17, 2005, Ralf S. Engelschall wrote:
> >On Sat, Sep 17, 2005, PLI wrote:
> >
> >> in firefox.spec, firefox-init.tar.gz is in gzip format.
> >> could you add "-z" option to tar ?
> >>
> >> thanks.
> >>
> >> --- ./firefox.spec.orig 2005-09-17 15:58:08.000000000 +0200
> >> +++ ./firefox.spec      2005-09-17 15:58:12.000000000 +0200
> >> @@ -260,7 +260,7 @@
> >>
> >>      #   add initialization files
> >>      ( cd $RPM_BUILD_ROOT%{l_prefix}/lib && \
> >> -      %{l_tar} -xf %{SOURCE firefox-init.tar.gz} && \
> >> +      %{l_tar} -zxf %{SOURCE firefox-init.tar.gz} && \
> >>        rm -f firefox/README
> >>      ) || exit $?
> >
> >Thanks for the hint. I've fixed it now. But I had to use a combination
> >of gzip and tar as not all tar implementations support the -z option.
>
> Doesn't %{l_tar} always refer to the gnu-tar built into OpenPKG?
> If so, one should be able to safely assume that it supports the
> option to use gzip compression.

Yes and no. I assumed that our <prefix>/lib/openpkg/tar in the
bootstrap package wants to find "gzip" in $PATH (which is not the case
just for the bootstrap package, the "gzip" package would have to be
installed, too) and hence would not automatically be able to use our
<prefix>/lib/openpkg/gzip. But we have to double-check its sources to be
sure...
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to