]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
build_utils.sh: try using dnf, adding -d 10 --debugsolver for more info
authorDan Mick <dmick@redhat.com>
Sat, 6 Jan 2024 03:20:57 +0000 (19:20 -0800)
committerDan Mick <dmick@redhat.com>
Sat, 6 Jan 2024 03:20:57 +0000 (19:20 -0800)
Signed-off-by: Dan Mick <dmick@redhat.com>
scripts/build_utils.sh

index 9fd270321526e481e12852689268a2ceaf164241..da0bf827ddfbf717d98a067d8a675c8873d6e4af 100755 (executable)
@@ -1488,9 +1488,9 @@ setup_rpm_build_deps() {
     # Make sure we have all the rpm macros installed and at the latest version
     # before installing the dependencies, python3-devel requires the
     # python-rpm-macro we use for identifying the python related dependencies
-    $SUDO yum install -y python3-devel
+    $SUDO dnf install -y python3-devel
 
-    $SUDO yum-builddep -v -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec
+    $SUDO dnf builddep -d 10 --debugsolver -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec
 }
 
 setup_rpm_build_area() {