Using lzma compressed tarball as Source0

Till Maas opensource at till.name
Wed Sep 3 16:54:45 UTC 2008


On Wed September 3 2008, Jason L Tibbitts III wrote:
> >>>>> "TM" == Till Maas <opensource at till.name> writes:
>
> TM> Only adding -T to %setup fails, because %setup wants to cd into
> TM> the source directory that it previously removed.
>
> So add the option to make it not do that.
> http://www.rpm.org/max-rpm/s1-rpm-inside-macros.html

I am not sure, what you are suggesting. Do you mean I should do the following?

%prep
rm -rf %{name}-%{version}
lzma -c -d %SOURCE0 | tar xvvf -
%setup -q -T -D

Is it maybe ok to just skip %setup and only extract the sources manually?

Regards,
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20080903/647881ed/attachment.bin 


More information about the devel mailing list