2011-04-21 12:12:02 +02:00
|
|
|
Index: SpecCheck.py
|
|
|
|
===================================================================
|
|
|
|
--- SpecCheck.py.orig
|
2008-04-17 04:52:37 +02:00
|
|
|
+++ SpecCheck.py
|
2012-09-13 18:01:40 +02:00
|
|
|
@@ -224,7 +224,9 @@ class SpecCheck(AbstractCheck.AbstractCh
|
2008-04-17 04:52:37 +02:00
|
|
|
|
|
|
|
continue
|
|
|
|
|
2010-10-14 14:32:03 +02:00
|
|
|
- if current_section in ('prep', 'build') and \
|
|
|
|
+ if current_section in ('prep', 'build','pre', 'post', 'postun',
|
2008-04-17 04:52:37 +02:00
|
|
|
+ 'trigger', 'triggerin', 'triggerprein', 'triggerun', 'triggerpostun',
|
2010-10-14 14:32:03 +02:00
|
|
|
+ 'pretrans', 'posttrans') and \
|
|
|
|
contains_buildroot(line):
|
|
|
|
printWarning(pkg, 'rpm-buildroot-usage', '%' + current_section,
|
|
|
|
line[:-1].strip())
|