diff --git a/BrandingPolicyCheck.py b/BrandingPolicyCheck.py index 829b9f4..a35507d 100644 --- a/BrandingPolicyCheck.py +++ b/BrandingPolicyCheck.py @@ -105,7 +105,7 @@ class BrandingPolicyCheck(AbstractCheck.AbstractCheck): for r in pkg.requires(): if r[0].find('-theme-') >= 0 or r[0].find('-branding-') >= 0: - if (r[1] != rpm.RPMSENSE_EQUAL or not r[2].startswith('1')): + if (r[1] != rpm.RPMSENSE_EQUAL or not r[2][1].startswith('1')): printError(pkg, 'suse-branding-unversioned-requires', r[0]) diff --git a/rpmlint.changes b/rpmlint.changes index 8a083e3..f8ccd40 100644 --- a/rpmlint.changes +++ b/rpmlint.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 11 08:55:56 CET 2010 - dmueller@suse.de + +- fix another exception in branding policy check (bnc#652628) + ------------------------------------------------------------------- Thu Nov 4 14:20:41 UTC 2010 - lnussel@suse.de