Re: Using lzma compressed tarball as Source0

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

 



On Wed September 3 2008, Michael Schwendt wrote:
> On Wed, 03 Sep 2008 17:45:41 +0200, Till Maas wrote:
> > Hiyas,
> >
> > are there some best practices or some secret macros I can redifine to use
> > a lzma compressed tarball as Source0 for Fedora 8+ specs?
> > It would help if I could pass --use-compress-program=lzma to the tar
> > commandline that %setup uses.
>
> %setup -c -q -T
>
> and extract %{SOURCE0} manually. Does that help, too?

Thanks, the best solution I can think of with this %setup commandline is this:

%setup -q -c -T
lzma -c -d %SOURCE0 | tar -xvvf - -C ..

Without the -C .. tar will create a new directory within the extracted source 
directory, e.g. foo-1.2/foo-1.2 which will break the remainder of the spec.

Regards,
Till

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux