ref: refs/heads/master
commit 438a3a7136193d109d3ecfd833ee0fdc383c0005
Author: Ján Kupec
Date: Thu Dec 10 17:17:21 2009 +0100
Tell zypp whether to use repo alias instead of name.
---
src/Config.cc | 3 +++
zypper.spec.cmake | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/Config.cc b/src/Config.cc
index c0a7568..dfd3f19 100644
--- a/src/Config.cc
+++ b/src/Config.cc
@@ -137,7 +137,10 @@ void Config::read(const string & file)
s = augeas.getOption(ConfigOption::MAIN_SHOW_ALIAS.asString());
if (!s.empty())
+ {
show_alias = str::strToBool(s, false);
+ ZConfig::instance().repoLabelIsAlias(show_alias);
+ }
// ---------------[ solver ]------------------------------------------------
diff --git a/zypper.spec.cmake b/zypper.spec.cmake
index e4d8c75..b725532 100644
--- a/zypper.spec.cmake
+++ b/zypper.spec.cmake
@@ -11,7 +11,7 @@
# norootforbuild
Name: @PACKAGE@
-BuildRequires: libzypp-devel >= 6.26.2 boost-devel >= 1.33.1 gettext-devel >= 0.15
+BuildRequires: libzypp-devel >= 6.28.0 boost-devel >= 1.33.1 gettext-devel >= 0.15
BuildRequires: readline-devel >= 5.1 augeas-devel >= 0.5.0
BuildRequires: gcc-c++ >= 4.1 cmake >= 2.4.6
Requires: procps
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org