Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286357 - rpm.eclass: Incorrect dependences on app-arch/rpm2targz
Summary: rpm.eclass: Incorrect dependences on app-arch/rpm2targz
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-25 04:18 UTC by jackieku
Modified: 2009-10-03 08:56 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jackieku 2009-09-25 04:18:32 UTC
rpm.eclass can use app-arch/rpm instead of app-arch/rpm2targz when it is available. But in rpm.eclass it defines DEPEND=">=app-arch/rpm2targz-9.0-r1" which forces app-arch/rpm2targz to be installed. It should be changed to something like

DEPEND="|| ( >=app-arch/rpm2targz-9.0-r1 >=app-arch/rpm-4.4.6-r6 )"

other ebuilds can still defines DEPEND=app-arch/rpm to force rpm to be used.
Comment 1 SpanKY gentoo-dev 2009-10-01 17:35:18 UTC
or we force the latest version of rpm2targz, strip all of the logic in rpm_unpack, and just have it be:
  rpm2tar -O | tar xf -
Comment 2 jackieku 2009-10-02 01:39:26 UTC
I think that's not a good idea. An user may install rpm for some reason, and rpm can extract those files as well. But there is no reason to force the user install rpm2targz when he/she has rpm installed.
Comment 3 SpanKY gentoo-dev 2009-10-02 02:57:27 UTC
if that's your only reason, then i'll go ahead and convert it to rpm2tar.  the package is tiny and "bloat" really isnt an issue with it.  no point in basically duplicating the entire rpm2tar package in the eclass.