Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88310 - an eclass to handle unpacking source rpms
Summary: an eclass to handle unpacking source rpms
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-07 21:29 UTC by Josh Nichols (RETIRED)
Modified: 2005-04-07 22:35 UTC (History)
0 users

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


Attachments
src-rpm.eclass (src-rpm.eclass,595 bytes, text/plain)
2005-04-07 21:33 UTC, Josh Nichols (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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