Fixed download of the source RPM for Fedora
This commit is contained in:
parent
291f6783ed
commit
86680fb8b0
@ -28,9 +28,9 @@ rlJournalStart
|
||||
fi
|
||||
|
||||
# Get list of rpms
|
||||
rlRun "yum download --source ${PACKAGE}"
|
||||
#rlFetchSrcForInstalled --quiet "${RPM}" || \
|
||||
# rlDie 'Can not get source package of ${PACKAGE} .... giving up...'
|
||||
#rlRun "yum download --source ${PACKAGE}"
|
||||
rlFetchSrcForInstalled --quiet "${RPM}" || \
|
||||
rlDie 'Can not get source package of ${PACKAGE} .... giving up...'
|
||||
SOURCEPKG=$(rpm -q --qf ${PACKAGE}'-%{version}-%{release}.src.rpm' ${RPM})
|
||||
rlAssertExists "${tmp}/${SOURCEPKG}"
|
||||
rlRun "rpm -D '_topdir ${tmp}' -i ${tmp}/${SOURCEPKG}"
|
||||
|
Loading…
Reference in New Issue
Block a user