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.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

There are three kinds of men. The ones that learn by reading. The few who
learn by observation.  The rest of them have to pee on the electric fence
for themselves. -- Will Rogers
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to