rpm-rebulid: update requirement
Replace yum-utils with the proper dnf plugins package depending on wether dnf4 or dnf5 is used
This commit is contained in:
parent
9a016593cb
commit
31f14ab146
1 changed files with 9 additions and 1 deletions
|
|
@ -2,5 +2,13 @@ summary: rpmbuild package with rust
|
|||
description: 'Ensure that rust does not break rpmbuild'
|
||||
require+:
|
||||
- rpm-build
|
||||
- yum-utils
|
||||
duration: 1h
|
||||
|
||||
adjust:
|
||||
- require+:
|
||||
- dnf5-plugins
|
||||
when: distro == fedora or distro > rhel-10 or distro > centos-stream-10
|
||||
|
||||
- require+:
|
||||
- dnf-plugins-core
|
||||
when: distro <= rhel-10 or distro <= centos-stream-10
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue