forked from pool/rpmlint
Dirk Mueller
15bad7fc73
* New Homepage * Plenty of new checks - add compressed-backup-regex.diff - remove python3_magic_number_fix.diff OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=189
14 lines
560 B
Diff
14 lines
560 B
Diff
Index: FilesCheck.py
|
|
===================================================================
|
|
--- FilesCheck.py.orig
|
|
+++ FilesCheck.py
|
|
@@ -591,7 +591,7 @@ DEFAULT_STANDARD_GROUPS = ('root', 'bin'
|
|
|
|
tmp_regex = re.compile('^(/var|/usr)?/tmp/')
|
|
sub_bin_regex = re.compile('^(/usr)?/s?bin/\S+/')
|
|
-backup_regex = re.compile('(~|\#[^/]+\#|\.orig|\.rej)$')
|
|
+backup_regex = re.compile('(~|\#[^/]+\#|\.orig|\.orig\.gz|\.rej)$')
|
|
compr_regex = re.compile('\.(gz|z|Z|zip|bz2|lzma|xz)$')
|
|
absolute_regex = re.compile('^/([^/]+)')
|
|
absolute2_regex = re.compile('^/?([^/]+)')
|