Blame SOURCES/BZ-1291745-query-install-excludes.patch

d2a170
commit cc08cae08365d473d2ab5b29cd1ab4fedc8d0f75
d2a170
Author: Valentina Mukhamedzhanova <vmukhame@redhat.com>
d2a170
Date:   Tue Dec 15 15:01:23 2015 +0100
d2a170
d2a170
    Fix the default value for query_install_excludes config option.
d2a170
d2a170
diff --git a/docs/yum.conf.5 b/docs/yum.conf.5
d2a170
index 0548860..27620b8 100644
d2a170
--- a/docs/yum.conf.5
d2a170
+++ b/docs/yum.conf.5
d2a170
@@ -174,7 +174,7 @@ A way to permanently set the --disableexcludes command line option.
d2a170
 \fBquery_install_excludes\fR
d2a170
 This applies the command line exclude option (only, not the configuration
d2a170
 exclude above) to installed packages being shown in some query commands
d2a170
-(currently: list/info/search/provides).
d2a170
+(currently: list/info/search/provides). Default is '0'.
d2a170
 
d2a170
 .IP
d2a170
 \fBinstallonlypkgs \fR
d2a170
diff --git a/yum/config.py b/yum/config.py
d2a170
index 0dcbc6a..77a1003 100644
d2a170
--- a/yum/config.py
d2a170
+++ b/yum/config.py
d2a170
@@ -826,7 +826,7 @@ class YumConf(StartupConf):
d2a170
     # XXX rpm_check_debug is unused, left around for API compatibility for now
d2a170
     rpm_check_debug = BoolOption(True)
d2a170
     disable_excludes = ListOption()    
d2a170
-    query_install_excludes = BoolOption(True)
d2a170
+    query_install_excludes = BoolOption(False)
d2a170
     skip_broken = BoolOption(False)
d2a170
     #  Note that "instant" is the old behaviour, but group:primary is very
d2a170
     # similar but better :).