Index: FilesCheck.py =================================================================== RCS file: /cooker/soft/rpmlint/FilesCheck.py,v retrieving revision 1.96 diff -u -U1 -r1.96 FilesCheck.py --- FilesCheck.py 15 Jan 2006 09:59:04 -0000 1.96 +++ FilesCheck.py 15 Jan 2006 21:08:59 -0000 @@ -189,2 +189,3 @@ script_regex=re.compile('^/((usr/)?s?bin|etc/(rc.d/init.d|profile.d|X11/xinit.d|cron.(hourly|daily|monthly|weekly)))/') +libtool_archive_regex=re.compile('\.la$') lib64python_regex=re.compile('^/usr/lib64/python') @@ -562,3 +563,3 @@ printError(pkg, 'wrong-script-interpreter', f, '"' + res.group(1) + '"') - else: + elif not (lib_path_regex.search(f) and libtool_archive_regex.search(f)): printError(pkg, 'script-without-shellbang', f)