openmp-rpm: adjustments for fedora 39 (dnf5)
This commit is contained in:
parent
1e0115c194
commit
3ff5b7451d
2 changed files with 11 additions and 2 deletions
|
|
@ -15,13 +15,22 @@ adjust:
|
|||
- because: "libomp not supported in s390x"
|
||||
when: arch == s390x
|
||||
enabled: false
|
||||
continue: false
|
||||
|
||||
- because: "Use yum in RHEL < 8"
|
||||
require+:
|
||||
- yum-utils
|
||||
environment+:
|
||||
BUILDDEP_CMD: "yum-builddep"
|
||||
when: distro < rhel-8
|
||||
when: distro == rhel and distro < rhel-8
|
||||
|
||||
- because: "Use dnf5 in Fedora 39+"
|
||||
require+:
|
||||
- dnf5-plugins
|
||||
environment+:
|
||||
BUILDDEP_CMD: "dnf builddep"
|
||||
continue: false
|
||||
when: distro == fedora and distro >= fedora-39
|
||||
|
||||
- because: "Use dnf in RHEL >= 8, Fedora and CentOS"
|
||||
require+:
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@
|
|||
set -ex
|
||||
|
||||
${BUILDDEP_CMD} -y test.spec
|
||||
rpmbuild --define '_sourcedir .' --define '_builddir .' -bb test.spec
|
||||
QA_RPATHS=$(( 0x0001 )) rpmbuild --define '_sourcedir .' --define '_builddir .' -bb test.spec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue