File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 39
39
40
40
package=mongo-c-driver
41
41
spec_file=../mongo-c-driver.spec
42
- config=${MOCK_TARGET_CONFIG:= fedora-40 -aarch64}
42
+ config=${MOCK_TARGET_CONFIG:= fedora-43 -aarch64}
43
43
44
44
if [ ! -x /usr/bin/rpmbuild -o ! -x /usr/bin/rpmspec ]; then
45
45
echo " Missing the rpmbuild or rpmspec utility from the rpm-build package"
@@ -81,7 +81,11 @@ sudo mock -r ${config} --use-bootstrap-image --isolation=simple --install rpmdev
81
81
# This step is needed to avoid the following error on rocky+epel8:
82
82
# Problem: conflicting requests
83
83
# - package utf8proc-devel-2.6.1-3.module+el8.7.0+1065+42200b2e.aarch64 from powertools is filtered out by modular filtering
84
- sudo mock -r ${config} --use-bootstrap-image --isolation=simple --dnf-cmd --setopt=powertools.module_hotfixes=true install utf8proc-devel
84
+ if [[ " ${config} " == " rocky+epel-8-aarch64" ]]; then
85
+ sudo mock -r ${config} --use-bootstrap-image --isolation=simple --dnf-cmd --setopt=powertools.module_hotfixes=true install utf8proc-devel
86
+ else
87
+ sudo mock -r ${config} --use-bootstrap-image --isolation=simple --install utf8proc-devel
88
+ fi
85
89
86
90
sudo mock -r ${config} --use-bootstrap-image --isolation=simple --copyin " $( pwd) " " $( pwd) /${spec_file} " /tmp
87
91
sudo mock -r ${config} --use-bootstrap-image --isolation=simple --copyout " /tmp/${build_dir} /VERSION_CURRENT" .
You can’t perform that action at this time.
0 commit comments