forked from pool/rpmlint
4d4e6f73c7
Copy from Base:System/rpmlint based on submit request 50483 from user prusnak OBS-URL: https://build.opensuse.org/request/show/50483 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=68
15 lines
913 B
Diff
15 lines
913 B
Diff
also detect RCS files
|
|
Index: FilesCheck.py
|
|
===================================================================
|
|
--- FilesCheck.py.orig
|
|
+++ FilesCheck.py
|
|
@@ -664,7 +664,7 @@ ldconfig_regex = re.compile('^[^#]*ldcon
|
|
depmod_regex = re.compile('^[^#]*depmod', re.MULTILINE)
|
|
install_info_regex = re.compile('^[^#]*install-info', re.MULTILINE)
|
|
perl_temp_file_regex = re.compile('.*perl.*/(\.packlist|perllocal\.pod)$')
|
|
-scm_regex = re.compile('/CVS/[^/]+$|/\.(bzr|cvs|git|hg)ignore$|/\.hgtags$|/\.(bzr|git|hg|svn)/|/(\.arch-ids|{arch})/')
|
|
+scm_regex=re.compile('/(CVS|RCS)(/[^/]+)?$|/\.(bzr|cvs|git|hg)ignore$|/\.hgtags$|/\.(bzr|git|hg|svn)/|/(\.arch-ids|{arch})/|,v$')
|
|
games_path_regex = re.compile('^/usr(/lib(64)?)?/games/')
|
|
games_group_regex = re.compile(Config.getOption('RpmGamesGroups', DEFAULT_GAMES_GROUPS))
|
|
dangling_exceptions = Config.getOption('DanglingSymlinkExceptions', DEFAULT_DANGLING_EXCEPTIONS)
|