[yast-commit] r46079 - in /trunk/qt-pkg: VERSION.cmake package/yast2-qt-pkg.changes src/YQPkgPatchList.cc
Author: schubi2 Date: Fri Apr 4 10:33:39 2008 New Revision: 46079 URL: http://svn.opensuse.org/viewcvs/yast?rev=46079&view=rev Log: Fixed ResStatus (needed, satisfied,...) Modified: trunk/qt-pkg/VERSION.cmake trunk/qt-pkg/package/yast2-qt-pkg.changes trunk/qt-pkg/src/YQPkgPatchList.cc Modified: trunk/qt-pkg/VERSION.cmake URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/VERSION.cmake?rev=46079&r1=46078&r2=46079&view=diff ============================================================================== --- trunk/qt-pkg/VERSION.cmake (original) +++ trunk/qt-pkg/VERSION.cmake Fri Apr 4 10:33:39 2008 @@ -1,3 +1,3 @@ SET(VERSION_MAJOR "2") SET(VERSION_MINOR "16") -SET(VERSION_PATCH "30") +SET(VERSION_PATCH "31") Modified: trunk/qt-pkg/package/yast2-qt-pkg.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/package/yast2-qt-pkg.changes?rev=46079&r1=46078&r2=46079&view=diff ============================================================================== --- trunk/qt-pkg/package/yast2-qt-pkg.changes (original) +++ trunk/qt-pkg/package/yast2-qt-pkg.changes Fri Apr 4 10:33:39 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Apr 4 10:32:38 CEST 2008 - schubi@suse.de + +- Fixed ResStatus (needed, satisfied,...) +- 2.16.31 + +------------------------------------------------------------------- Thu Apr 3 18:22:29 CEST 2008 - dmacvicar@suse.de - Add unmantained packages filter (fate ##302004) Modified: trunk/qt-pkg/src/YQPkgPatchList.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgPatchList.cc?rev=46079&r1=46078&r2=46079&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPkgPatchList.cc (original) +++ trunk/qt-pkg/src/YQPkgPatchList.cc Fri Apr 4 10:33:39 2008 @@ -131,7 +131,8 @@ if ( selectable->hasInstalledObj() ) // installed? { - if ( selectable->installedPoolItem().status().isIncomplete() ) // patch broken? + if ( selectable->installedPoolItem().status().isInstalled() + && selectable->installedPoolItem().isBroken() ) // patch broken? { // The patch is broken: It had been installed, but the user somehow // downgraded individual packages belonging to the patch to older versions. @@ -172,7 +173,8 @@ // installed, but either no version of that patch is installed or there is a // newer one to which the patch could be updated. - if ( selectable->candidatePoolItem().status().isNeeded() ) // patch really needed? + if ( selectable->candidatePoolItem().status().isUninstalled() + && selectable->candidatePoolItem().isBroken() ) // patch really needed? { // Patches are needed if any of the packages that belong to the patch // are installed on the system. @@ -199,10 +201,7 @@ } else // not installed - display only if needed { - zypp::ResStatus candidateStatus = selectable->candidatePoolItem().status(); - - if ( candidateStatus.isNeeded() || - candidateStatus.isSatisfied() ) + if ( selectable->candidatePoolItem().isBroken() ) { displayPatch = true; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
schubi2@svn.opensuse.org