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

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