rpm-rebuild: remove use of yum, move to dnf
This commit is contained in:
parent
6a6a8ff0ec
commit
9a016593cb
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ rlJournalStart
|
|||
|
||||
rlPhaseStart FAIL "${PKG_TO_BUILD}"FetchSrcAndInstallBuildDeps
|
||||
if ! rlCheckRpm "$PKG_TO_BUILD"; then
|
||||
rlRun "yum install -y $PKG_TO_BUILD ${YUM_SWITCHES}"
|
||||
rlRun "dnf install -y $PKG_TO_BUILD"
|
||||
rlAssertRpm "$PKG_TO_BUILD"
|
||||
fi
|
||||
rlFetchSrcForInstalled "$PKG_TO_BUILD"
|
||||
|
|
@ -46,7 +46,7 @@ rlJournalStart
|
|||
# builddep needs to be run from the srpm, not the spec file, to be able
|
||||
# to generate them:
|
||||
# https://fedoraproject.org/wiki/Changes/DynamicBuildRequires#rpmbuild
|
||||
rlRun "yum-builddep -y ${SRPM} ${YUM_SWITCHES}"
|
||||
rlRun "dnf builddep -y ${SRPM}"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue