From 989678dd5b18b409946c177a2b6dbe8e6d56b229b27ea41adad0cc628942938a Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Mon, 15 Nov 2010 15:02:49 +0000 Subject: [PATCH] Accepting request 52777 from Base:System Accepted submit request 52777 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/52777 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=78 --- BrandingPolicyCheck.py | 2 +- rpmlint.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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