Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > media > main-release-src > by-pkgid > 8237ee104d2a4fac6a18dc3e49de0c9e > files > 2

rpmlint-0.84-2mdv2009.1.src.rpm

diff -p -up ./SpecCheck.py.tv2 ./SpecCheck.py
--- ./SpecCheck.py.tv2	2008-02-11 18:49:58.000000000 +0100
+++ ./SpecCheck.py	2008-02-11 18:50:18.000000000 +0100
@@ -255,7 +255,7 @@ class SpecCheck(AbstractCheck.AbstractCh
                     elif res.group(1):
                         res = re.match(hardcoded_library_paths, res.group(1))
                         if res:
-                            printError(pkg, "hardcoded-library-path", res.group(1), "in configure options")
+                            printWarning(pkg, "hardcoded-library-path", res.group(1), "in configure options")
 
             if current_section != 'changelog' and configure_start_regex.search(line):
                 configure = 1
@@ -263,7 +263,7 @@ class SpecCheck(AbstractCheck.AbstractCh
 
             res = hardcoded_library_path_regex.search(line)
             if current_section != 'changelog' and res and not (biarch_package_regex.match(pkg.name) or hardcoded_lib_path_exceptions_regex.search(string.lstrip(res.group(1)))):
-                printError(pkg, "hardcoded-library-path", "in", string.lstrip(res.group(1)))
+                printWarning(pkg, "hardcoded-library-path", "in", string.lstrip(res.group(1)))
 
             res = buildroot_regex.search(line)
             if res: