Hello community, here is the log from the commit of package rpmlint checked in at Wed Apr 23 00:31:09 CEST 2008. -------- --- rpmlint/rpmlint.changes 2008-04-21 15:27:45.000000000 +0200 +++ /mounts/work_src_done/NOARCH/rpmlint/rpmlint.changes 2008-04-22 17:34:41.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Apr 22 17:34:31 CEST 2008 - dmueller@suse.de + +- fix exception on testing for unversioned branding provides + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpmlint.spec ++++++ --- /var/tmp/diff_new_pack.a14228/_old 2008-04-23 00:30:54.000000000 +0200 +++ /var/tmp/diff_new_pack.a14228/_new 2008-04-23 00:30:54.000000000 +0200 @@ -15,7 +15,7 @@ BuildRequires: rpm-python Summary: Rpm correctness checker Version: 0.82 -Release: 34 +Release: 35 Source0: %{name}-%{version}.tar.bz2 Source1: config Source1001: config.in @@ -191,6 +191,8 @@ /usr/share/man/man1/rpmlint.1.gz %changelog +* Tue Apr 22 2008 dmueller@suse.de +- fix exception on testing for unversioned branding provides * Mon Apr 21 2008 dmueller@suse.de - suppress script warnings about /var/adm/fillup-templates (bnc#379601) - add start of a branding policy checker ++++++ BrandingPolicyCheck.py ++++++ --- rpmlint/BrandingPolicyCheck.py 2008-04-16 16:03:59.000000000 +0200 +++ /mounts/work_src_done/NOARCH/rpmlint/BrandingPolicyCheck.py 2008-04-22 17:34:46.000000000 +0200 @@ -64,9 +64,8 @@ if not branding_provide: printError(pkg,'suse-branding-no-branding-provide') else: - if (branding_provide[2] != rpm.RPMSENSE_EQUAL or - not branding_provide[1].startswith('1')): - printError(pkg, 'suse-branding-unversioned-prov', branding_provide) + if (len(branding_provide) < 2 or branding_provide[2] != rpm.RPMSENSE_EQUAL): + printError(pkg, 'suse-branding-unversioned-prov', branding_provide[0]) for r in pkg.requires(): if r[0].find('-theme-') >= 0 or r[0].find('-branding-') >= 0: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org