forked from pool/rpmlint
This commit is contained in:
parent
ea9158e370
commit
1d26eb8db5
@ -35,7 +35,7 @@ class BrandingPolicyCheck(AbstractCheck.AbstractCheck):
|
||||
for r in pkg.requires():
|
||||
if (pkg.name.find('-branding-') < 0 and
|
||||
(r[0].find('-theme-') >= 0 or r[0].find('-branding-') >= 0)):
|
||||
printError(pkg,'suse-branding-specific-branding-req', r)
|
||||
printError(pkg,'suse-branding-specific-branding-req', r[0])
|
||||
if r[0].endswith('branding') or r[0].endswith('theme'):
|
||||
if (r[2] != rpm.RPMSENSE_EQUAL or not r[1].startswith('1')):
|
||||
printError(pkg,'suse-branding-unversioned-req', r[0])
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 5 18:46:22 CEST 2008 - dmueller@suse.de
|
||||
|
||||
- fix typo in branding policy check
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 2 19:31:12 CEST 2008 - dmueller@suse.de
|
||||
|
||||
|
@ -15,7 +15,7 @@ Name: rpmlint
|
||||
BuildRequires: rpm-python
|
||||
Summary: Rpm correctness checker
|
||||
Version: 0.82
|
||||
Release: 42
|
||||
Release: 44
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Source1: config
|
||||
Source1001: config.in
|
||||
@ -196,6 +196,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/usr/share/man/man1/rpmlint.1.gz
|
||||
|
||||
%changelog
|
||||
* Mon May 05 2008 dmueller@suse.de
|
||||
- fix typo in branding policy check
|
||||
* Fri May 02 2008 dmueller@suse.de
|
||||
- readd cron check
|
||||
- fix kmp check after the policy change
|
||||
|
Loading…
Reference in New Issue
Block a user