diff --git a/dnf5/commands/list/list.cpp b/dnf5/commands/list/list.cpp index bc9c9b41f..d5d1925df 100644 --- a/dnf5/commands/list/list.cpp +++ b/dnf5/commands/list/list.cpp @@ -152,7 +152,11 @@ void ListCommand::run() { if (!pkg_specs.empty()) { base_query = libdnf5::rpm::PackageQuery(ctx.base, libdnf5::sack::ExcludeFlags::APPLY_EXCLUDES, true); libdnf5::ResolveSpecSettings settings{ - .with_nevra = true, .with_provides = false, .with_filenames = false, .with_binaries = false}; + .ignore_case = true, + .with_nevra = true, + .with_provides = false, + .with_filenames = false, + .with_binaries = false}; for (const auto & spec : pkg_specs) { libdnf5::rpm::PackageQuery pkg_query(full_package_query); pkg_query.resolve_pkg_spec(spec, settings, true);