rpmlint/rpmlint-0.71-la-exec.patch
Ville Skyttä 21325e5a02 - Sync with upstream CVS as of 2006-01-15, includes improved versions of
most of the earlier patches.
- Add dependency on binutils.
2006-01-17 20:33:54 +00:00

17 lines
872 B
Diff

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)