forked from pool/rpmlint
This commit is contained in:
parent
60d7135645
commit
3415c119ca
@ -13,6 +13,7 @@ import re
|
||||
import commands
|
||||
import Config
|
||||
import os
|
||||
import stat
|
||||
|
||||
class PkgConfigCheck(AbstractCheck.AbstractFilesCheck):
|
||||
def __init__(self):
|
||||
@ -32,7 +33,7 @@ class PkgConfigCheck(AbstractCheck.AbstractFilesCheck):
|
||||
|
||||
|
||||
def check_file(self, pkg, filename):
|
||||
if pkg.isSource():
|
||||
if pkg.isSource() or not stat.S_ISREG(pkg.files()[filename][0]):
|
||||
return
|
||||
|
||||
if pkg.grep(self.suspicious_dir, filename):
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 20 23:12:56 CET 2008 - dmueller@suse.de
|
||||
|
||||
- only test for regular files in ChkPkgConfig check
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 7 15:53:11 CET 2008 - dmueller@suse.de
|
||||
|
||||
|
@ -22,7 +22,7 @@ Name: rpmlint
|
||||
BuildRequires: rpm-python
|
||||
Summary: Rpm correctness checker
|
||||
Version: 0.84
|
||||
Release: 2
|
||||
Release: 3
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Source1: config
|
||||
Source1001: config.in
|
||||
@ -214,6 +214,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/usr/share/man/man1/rpmlint.1.gz
|
||||
|
||||
%changelog
|
||||
* Thu Nov 20 2008 dmueller@suse.de
|
||||
- only test for regular files in ChkPkgConfig check
|
||||
* Fri Nov 07 2008 dmueller@suse.de
|
||||
- add check for otherproviders() in branding packages
|
||||
- correct kde4 related dependency checkers to not give false advises
|
||||
|
Loading…
Reference in New Issue
Block a user