#
SET(LIBZYPP_MAJOR "5")
SET(LIBZYPP_COMPATMINOR "5")
-SET(LIBZYPP_MINOR "6")
-SET(LIBZYPP_PATCH "1")
+SET(LIBZYPP_MINOR "7")
+SET(LIBZYPP_PATCH "0")
#
# LAST RELEASED: 5.6.1 (5)
# (The number in parenthesis is LIBZYPP_COMPATMINOR)
-------------------------------------------------------------------
+Tue Aug 19 16:36:47 CEST 2008 - dmacvicar@suse.de
+
+- add Package::maybeUnsupported to remove duplicated
+ code in clients dealing with Package::vendorSupport
+
+-------------------------------------------------------------------
Di 19. Aug 10:34:39 CEST 2008 - schubi@waerden.suse.de
- Reset transaction only if this solvable has no buddy (bnc #417799)
return VendorSupportUnknown;
}
+ bool Package::maybeUnsupported() const
+ {
+ return ( vendorSupport() & ( VendorSupportACC | VendorSupportUnsupported | VendorSupportUnknown ) == ( VendorSupportACC | VendorSupportUnsupported | VendorSupportUnknown ) );
+ }
+
+
Changelog Package::changelog() const
{
Target_Ptr target;
*/
VendorSupportOption vendorSupport() const;
+ /**
+ * True if the vendor support for this package
+ * is unknown or explictly unsupported.
+ */
+ bool maybeUnsupported() const;
+
/** Get the package change log */
Changelog changelog() const;
/** */