SHA256
1
0
forked from pool/rpmlint
OBS User unknown 2008-04-22 22:31:14 +00:00 committed by Git OBS Bridge
parent 9bca805221
commit 903c8c0031
3 changed files with 10 additions and 4 deletions

View File

@ -64,9 +64,8 @@ class BrandingPolicyCheck(AbstractCheck.AbstractCheck):
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:

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 22 17:34:31 CEST 2008 - dmueller@suse.de
- fix exception on testing for unversioned branding provides
-------------------------------------------------------------------
Mon Apr 21 15:27:08 CEST 2008 - dmueller@suse.de

View File

@ -15,7 +15,7 @@ Name: rpmlint
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 @@ rm -rf $RPM_BUILD_ROOT
/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