- adapt to new API
authorJan Kupec <jkupec@suse.cz>
Tue, 22 Apr 2008 22:11:07 +0000 (22:11 +0000)
committerJan Kupec <jkupec@suse.cz>
Tue, 22 Apr 2008 22:11:07 +0000 (22:11 +0000)
src/zypper-locks.cc
zypper.spec.cmake

index ad2c2c2..c979b82 100644 (file)
@@ -150,7 +150,7 @@ void remove_locks(Zypper & zypper, const Zypper::ArgList & args)
   {
     Locks & locks = Locks::instance();
     locks.readAndApply();
-    Locks::iterator it = locks.begin();
+    Locks::const_iterator it = locks.begin();
     Locks::LockList::size_type i = 0;
     safe_lexical_cast(args[0], i);
     if (i > 0 && i <= locks.size())
index 888163c..a98a18e 100644 (file)
@@ -11,7 +11,7 @@
 # norootforbuild
 
 Name:           @PACKAGE@
-BuildRequires:  libzypp-devel >= 4.12.0 boost-devel >= 1.33.1 gettext-devel >= 0.15 readline-devel >= 5.1
+BuildRequires:  libzypp-devel >= 4.14.0 boost-devel >= 1.33.1 gettext-devel >= 0.15 readline-devel >= 5.1
 BuildRequires:  gcc-c++ >= 4.1 cmake >= 2.4.6
 Requires:      procps
 Recommends:     logrotate cron