Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345223 - app-backup/tsm should use 'inherit rpm'
Summary: app-backup/tsm should use 'inherit rpm'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tobias Scherbaum (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-12 18:36 UTC by Matt Turner
Modified: 2010-12-20 17:25 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 Matt Turner gentoo-dev 2010-11-12 18:36:05 UTC
Currently tsm does

DEPEND="app-arch/rpm2targz"
...
    RPMS=("TIVsm-BA.i386.rpm" "TIVsm-API.i386.rpm")
    if use amd64 ; then
        RPMS=("${RPMS[@]}" "TIVsm-API64.rpm")
    fi
    if use hsm ; then
        RPMS=("${RPMS[@]}" "TIVsm-HSM.i386.rpm")
    fi

    for rpm in ${RPMS[@]}
    do
        einfo "Extracting: ${rpm}"
        rpm2tar -O ${rpm} | tar xfp -
    done

Can't we use the rpm eclass to handle this?
Comment 1 Tobias Scherbaum (RETIRED) gentoo-dev 2010-12-20 17:25:23 UTC
Fixed in app-backup/tsm-6.2.2.0