From 057ea99a3211057d2cb2c9971afe56e0a85e0f78 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 31 May 2023 12:52:13 +0100 Subject: [PATCH 05/10] rpm: Use dnf --config instead of -c dnf5 does not support -c. dnf4 supports either. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2211386 --- src/ph_rpm.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ph_rpm.ml b/src/ph_rpm.ml index 3e803c6..e94f35f 100644 --- a/src/ph_rpm.ml +++ b/src/ph_rpm.ml @@ -500,7 +500,7 @@ and download_all_packages_with_dnf pkgs dir tdir = debug_quiet_option (match !settings.packager_config with | None -> "" - | Some filename -> sprintf " -c %s" (quote filename)) + | Some filename -> sprintf " --config=%s" (quote filename)) (if not is_dnf5 then " --disableexcludes=all" else "") (quote tdir) (quoted_list rpms) in -- 2.37.3