Skip to content

Commit

Permalink
Limit exclude search for only NEVRA
Browse files Browse the repository at this point in the history
The issue was created by adding binary search that is enabled by
default.

Closes: #763
  • Loading branch information
j-mracek committed Aug 2, 2023
1 parent 43eb2cd commit 2abd3f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libdnf5/rpm/package_sack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ void PackageSack::Impl::load_config_excludes_includes(bool only_main) {
bool includes_exist = false; // found packages for include

ResolveSpecSettings resolve_settings{
.ignore_case = false, .with_nevra = true, .with_provides = false, .with_filenames = false};
.ignore_case = false,
.with_nevra = true,
.with_provides = false,
.with_filenames = false,
.with_binaries = false};

// first evaluate repo specific includes/excludes
if (!only_main) {
Expand Down

0 comments on commit 2abd3f4

Please sign in to comment.