Skip to content

Commit c07d664

Browse files
committed
use F43 for RPM builds, special case around rocky-specific logic
1 parent c758080 commit c07d664

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.evergreen/scripts/build_snapshot_rpm.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ done
3939

4040
package=mongo-c-driver
4141
spec_file=../mongo-c-driver.spec
42-
config=${MOCK_TARGET_CONFIG:=fedora-40-aarch64}
42+
config=${MOCK_TARGET_CONFIG:=fedora-43-aarch64}
4343

4444
if [ ! -x /usr/bin/rpmbuild -o ! -x /usr/bin/rpmspec ]; then
4545
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
8181
# This step is needed to avoid the following error on rocky+epel8:
8282
# Problem: conflicting requests
8383
# - 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
8589

8690
sudo mock -r ${config} --use-bootstrap-image --isolation=simple --copyin "$(pwd)" "$(pwd)/${spec_file}" /tmp
8791
sudo mock -r ${config} --use-bootstrap-image --isolation=simple --copyout "/tmp/${build_dir}/VERSION_CURRENT" .

0 commit comments

Comments
 (0)