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

Bug 345223

Summary: app-backup/tsm should use 'inherit rpm'
Product: Gentoo Linux Reporter: Matt Turner <mattst88>
Component: New packagesAssignee: Tobias Scherbaum (RETIRED) <dertobi123>
Status: RESOLVED FIXED    
Severity: normal CC: qa
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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