Remove references to deprecated UpgradeStatistics.
authorMichael Andres <ma@suse.de>
Wed, 8 Jul 2009 12:22:28 +0000 (14:22 +0200)
committerMichael Andres <ma@suse.de>
Wed, 8 Jul 2009 12:22:28 +0000 (14:22 +0200)
VERSION.cmake
package/zypper.changes
src/solve-commit.cc
zypper.spec.cmake

index 478e6ac..c054d3d 100644 (file)
@@ -31,7 +31,7 @@
 #
 SET(VERSION_MAJOR "1")
 SET(VERSION_MINOR "2")
-SET(VERSION_PATCH "1")
+SET(VERSION_PATCH "2")
 
 # LAST RELEASED: 1.2.1
 #=======
index 772e706..3a0614c 100644 (file)
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Wed Jul  8 14:20:14 CEST 2009 - ma@suse.de
+
+- Remove references to deprecated UpgradeStatistics.
+- 1.2.2
+
+-------------------------------------------------------------------
 Mon Jun 29 17:40:23 CEST 2009 - jkupec@suse.cz
 
 - Updated translations.
index 4969129..5ebabd2 100755 (executable)
@@ -319,13 +319,13 @@ static bool verify(Zypper & zypper)
   return God->resolver()->verifySystem();
 }
 
-static bool dist_upgrade(Zypper & zypper, zypp::UpgradeStatistics & dup_stats)
+static bool dist_upgrade(Zypper & zypper)
 {
   dump_pool();
   set_solver_flags(zypper);
   zypper.out().info(_("Computing upgrade..."), Out::HIGH);
   DBG << "Calling the solver doUpgrade()..." << endl;
-  return God->resolver()->doUpgrade(dup_stats);
+  return God->resolver()->doUpgrade();
 }
 
 /**
@@ -384,10 +384,8 @@ void solve_and_commit (Zypper & zypper)
           success = verify(zypper);
         else if (zypper.command() == ZypperCommand::DIST_UPGRADE)
         {
-          zypp::UpgradeStatistics dup_stats;
           zypper.out().info(_("Computing distribution upgrade..."));
-          success = dist_upgrade(zypper, dup_stats);
-          //! \todo make use of the upgrade stats
+          success = dist_upgrade(zypper);
         }
         else
         {
index 333390f..e6b4a2c 100644 (file)
@@ -11,7 +11,7 @@
 # norootforbuild
 
 Name:           @PACKAGE@
-BuildRequires:  libzypp-devel >= 6.8.0 boost-devel >= 1.33.1 gettext-devel >= 0.15
+BuildRequires:  libzypp-devel >= 6.10.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