Mageia Bugzilla – Attachment 5802 Details for
Bug 8605
rpmlint gives false warnings when %setup_compile_flags is used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patch for rpmlint attached
rpmlint-1.5-mga-fix_setup_compile_flags.patch (text/plain), 1.11 KB, created by
Richard Houser
on 2015-01-11 02:27:57 CET
(
hide
)
Description:
patch for rpmlint attached
Filename:
MIME Type:
Creator:
Richard Houser
Created:
2015-01-11 02:27:57 CET
Size:
1.11 KB
patch
obsolete
>diff -uNr rpmlint-1.5_bkup/SpecCheck.py rpmlint-1.5/SpecCheck.py >--- rpmlint-1.5_bkup/SpecCheck.py 2015-01-10 20:14:32.499206782 -0500 >+++ rpmlint-1.5/SpecCheck.py 2015-01-10 20:14:59.441458218 -0500 >@@ -256,7 +256,7 @@ > if if_regex.search(line): > if_depth = if_depth + 1 > >- if line.startswith('%setup'): >+ if line.startswith('%setup '): > if not setup_q_regex.search(line): > # Don't warn if there's a -T without -a or -b > if setup_t_regex.search(line): >diff -uNr rpmlint-1.5_bkup/SpecCheck.py.0002 rpmlint-1.5/SpecCheck.py.0002 >--- rpmlint-1.5_bkup/SpecCheck.py.0002 2015-01-10 20:14:32.498206847 -0500 >+++ rpmlint-1.5/SpecCheck.py.0002 2015-01-10 20:15:04.619122794 -0500 >@@ -254,7 +254,7 @@ > if if_regex.search(line): > if_depth = if_depth + 1 > >- if line.startswith('%setup'): >+ if line.startswith('%setup '): > if not setup_q_regex.search(line): > # Don't warn if there's a -T without -a or -b > if setup_t_regex.search(line):
diff -uNr rpmlint-1.5_bkup/SpecCheck.py rpmlint-1.5/SpecCheck.py --- rpmlint-1.5_bkup/SpecCheck.py 2015-01-10 20:14:32.499206782 -0500 +++ rpmlint-1.5/SpecCheck.py 2015-01-10 20:14:59.441458218 -0500 @@ -256,7 +256,7 @@ if if_regex.search(line): if_depth = if_depth + 1 - if line.startswith('%setup'): + if line.startswith('%setup '): if not setup_q_regex.search(line): # Don't warn if there's a -T without -a or -b if setup_t_regex.search(line): diff -uNr rpmlint-1.5_bkup/SpecCheck.py.0002 rpmlint-1.5/SpecCheck.py.0002 --- rpmlint-1.5_bkup/SpecCheck.py.0002 2015-01-10 20:14:32.498206847 -0500 +++ rpmlint-1.5/SpecCheck.py.0002 2015-01-10 20:15:04.619122794 -0500 @@ -254,7 +254,7 @@ if if_regex.search(line): if_depth = if_depth + 1 - if line.startswith('%setup'): + if line.startswith('%setup '): if not setup_q_regex.search(line): # Don't warn if there's a -T without -a or -b if setup_t_regex.search(line):
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 8605
:
5802
|
5803
|
5817
|
5818