Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 88310

Summary: an eclass to handle unpacking source rpms
Product: Gentoo Linux Reporter: Josh Nichols (RETIRED) <nichoj>
Component: EclassesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: 2005.0   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: src-rpm.eclass

Description Josh Nichols (RETIRED) gentoo-dev 2005-04-07 21:29:47 UTC
There seems to be a number of packages distributed with RedHat and Fedora which don't seem to have a proper homepage, so the only means of getting them are through source rpms.

So, I suggest an eclass, or perhaps an addition to an existing eclass like eutils, for extracting a source rpm, then extracting the source tarball that was contained in the source rpm.
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2005-04-07 21:33:13 UTC
Created attachment 55620 [details]
src-rpm.eclass

Has a function, unpack_srcrpm, which takes a source rpm, and will extract it
using rpm2targz, then take any resulting tarballs, and extract those. It can
take an argument, which is the path to a source rpm, or otherwise, it will
default to ${A}.
Comment 2 Sven Wegener gentoo-dev 2005-04-07 22:35:57 UTC
rpm.eclass already handles unpacking of source rpms