2009-08-28 22:12:54 +02:00
|
|
|
Index: SpecCheck.py
|
|
|
|
===================================================================
|
|
|
|
--- SpecCheck.py.orig
|
2008-04-17 04:52:37 +02:00
|
|
|
+++ SpecCheck.py
|
2009-08-28 22:12:54 +02:00
|
|
|
@@ -29,7 +29,7 @@ applied_patch_regex = re.compile("^%patc
|
|
|
|
applied_patch_p_regex = re.compile("\s-P\s+(\d+)\\b")
|
2008-04-17 04:52:37 +02:00
|
|
|
source_dir_regex = re.compile("^[^#]*(\$RPM_SOURCE_DIR|%{?_sourcedir}?)")
|
|
|
|
obsolete_tags_regex = re.compile("^(Copyright|Serial)\s*:\s*([^\s]+)")
|
|
|
|
-buildroot_regex = re.compile('Buildroot\s*:\s*([^\s]+)', re.IGNORECASE)
|
|
|
|
+buildroot_regex = re.compile('^\s*Buildroot\s*:\s*([^\s]+)', re.IGNORECASE)
|
|
|
|
prefix_regex = re.compile('^Prefix\s*:\s*([^\s]+)', re.IGNORECASE)
|
|
|
|
packager_regex = re.compile('^Packager\s*:\s*([^\s]+)', re.IGNORECASE)
|
2009-08-28 22:12:54 +02:00
|
|
|
noarch_regex = re.compile('^BuildArch(?:itectures)?\s*:\s*\\bnoarch\\b', re.IGNORECASE)
|