summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2011-04-13 11:33:41 +0200
committerJulian Andres Klode <jak@debian.org>2011-04-13 11:33:41 +0200
commit3518021283aa5d44e441fdce59615ca2af9d94fc (patch)
tree51afb4f79ccc7893444652c8939f756c2533c43b
parenta6dba137a3d8e011215ba86f55963f33fb8c45ff (diff)
* cmdline/apt-get.cc:
- Do not install recommends for build-dep (Closes: #454479) (LP: #245273)
-rw-r--r--cmdline/apt-get.cc3
-rw-r--r--debian/changelog2
2 files changed, 5 insertions, 0 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 6ffecd777..e2d9bb7d4 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -2638,6 +2638,9 @@ bool DoSource(CommandLine &CmdL)
bool DoBuildDep(CommandLine &CmdL)
{
CacheFile Cache;
+
+ _config->Set("APT::Install-Recommends", false);
+
if (Cache.Open(true) == false)
return false;
diff --git a/debian/changelog b/debian/changelog
index 6878debc5..d5bbc20ed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ apt (0.8.13.3) UNRELEASED; urgency=low
things a directory named Sources to exist on a CD-ROM (LP: #750694).
* apt-pkg/acquire-item.cc:
- Use Release files even if they cannot be verified (LP: #704595)
+ * cmdline/apt-get.cc:
+ - Do not install recommends for build-dep (Closes: #454479) (LP: #245273)
[ Michael Vogt ]
* mirror method: