Using lzma compressed tarball as Source0

Jindrich Novy jnovy at redhat.com
Wed Sep 3 20:01:30 UTC 2008


Hi,

On Wed, Sep 03, 2008 at 05:45:41PM +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.

Note that rawhide RPM (to be rpm-4.6) supports expansion of lzma
tarballs without any macro magic.

%setup -q should handle it just fine.

what it basically does is:
/usr/bin/lzma -dc %{SOURCE0} | /bin/tar -xf -

Jindrich

-- 
Jindrich Novy <jnovy at redhat.com>   http://people.redhat.com/jnovy/




More information about the devel mailing list