Hello community, here is the log from the commit of package libzypp-zmd-backend checked in at Mon Apr 3 20:29:24 CEST 2006. -------- --- libzypp-zmd-backend/libzypp-zmd-backend.changes 2006-04-02 17:17:45.000000000 +0200 +++ libzypp-zmd-backend/libzypp-zmd-backend.changes 2006-04-03 19:30:07.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Apr 3 19:29:26 CEST 2006 - kkaempf@suse.de + +- plainRpm() is deprecated, use location() +- rev 2893 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzypp-zmd-backend.spec ++++++ --- /var/tmp/diff_new_pack.K1brEC/_old 2006-04-03 20:28:25.000000000 +0200 +++ /var/tmp/diff_new_pack.K1brEC/_new 2006-04-03 20:28:25.000000000 +0200 @@ -22,7 +22,7 @@ Obsoletes: zmd-librc-backend Summary: ZMD backend for Package, Patch, Pattern, and Product Management Version: 7.1.1 -Release: 28 +Release: 29 Source: zmd-backend-%{version}.tar.bz2 Prefix: /usr @@ -68,6 +68,9 @@ /etc/logrotate.d/zmd-backend %changelog -n libzypp-zmd-backend +* Mon Apr 03 2006 - kkaempf@suse.de +- plainRpm() is deprecated, use location() +- rev 2893 * Sun Apr 02 2006 - kkaempf@suse.de - add force_remote flag to handle the case where zmd does the download, so metadata appears local to zypp, but the real ++++++ zmd-backend-7.1.1.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-backend-7.1.1/src/dbsource/DbAccess.cc new/zmd-backend-7.1.1/src/dbsource/DbAccess.cc --- old/zmd-backend-7.1.1/src/dbsource/DbAccess.cc 2006-04-02 14:53:27.000000000 +0200 +++ new/zmd-backend-7.1.1/src/dbsource/DbAccess.cc 2006-04-03 18:25:08.000000000 +0200 @@ -575,10 +575,10 @@ sqlite3_bind_text( handle, 6, NULL, -1, SQLITE_STATIC ); // zmd knows how to get the package } else { - const char *plainrpm = pkg->plainRpm().asString().c_str(); - if (plainrpm[0] == '.' && plainrpm[1] == '/') plainrpm += 2; // strip leading "./" - DBG << "Source " << src << " is local, plainrpm " << plainrpm << endl; - sqlite3_bind_text( handle, 6, plainrpm, -1, SQLITE_STATIC ); // zypp knows how to get the package + const char *location = pkg->location().asString().c_str(); + if (location[0] == '.' && location[1] == '/') location += 2; // strip leading "./" + DBG << "Source " << src << " is local, location " << location << endl; + sqlite3_bind_text( handle, 6, location, -1, SQLITE_STATIC ); // zypp knows how to get the package } sqlite3_bind_text( handle, 7, NULL, -1, SQLITE_STATIC ); // signature_filename sqlite3_bind_int( handle, 8, pkg->size() ); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de