Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31164 - rpm2targz - patch script so that it handles rpm with bz2 payload without rpm package installed.
Summary: rpm2targz - patch script so that it handles rpm with bz2 payload without rpm ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-14 18:04 UTC by phceac
Modified: 2003-10-15 01:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for /usr/bin/rpm2targz (rpm2targz-9.0-scriptbzip2.patch,2.05 KB, patch)
2003-10-14 18:11 UTC, phceac
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description phceac 2003-10-14 18:04:10 UTC
app-arch/rpm2targz-9.0-r1

When rpm2cpio is not installed (part of rpm package) rpm2targz command cannot
handle bzip2 compressed rpms. The joy of rpm2targz is that it reduces 10Mb of
the hideous rpm beast to a mere 10kb.
A patch is probably the best explanation.

Reproducible: Always
Steps to Reproduce:
1. run rpm2targz on  a bzip2 rpm (i.e. many from SuSE)
Comment 1 phceac 2003-10-14 18:11:34 UTC
Created attachment 19249 [details, diff]
patch for /usr/bin/rpm2targz

Can also supply a patch for the ebuild...
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-10-15 01:27:13 UTC
thanks for the patch. i've added it to rpm2targz-9.0-r2