Author: glen                         Date: Tue Dec 13 17:13:28 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- match also %package for adapter to locate preambles properly

---- Files affected:
SPECS:
   adapter.awk (1.243 -> 1.244) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.243 SPECS/adapter.awk:1.244
--- SPECS/adapter.awk:1.243     Tue Dec 13 17:45:52 2005
+++ SPECS/adapter.awk   Tue Dec 13 18:13:23 2005
@@ -21,7 +21,8 @@
 # - desc wrapping is totally fucked up on global.spec,1.25, dosemu.spec,1.115-
 
 BEGIN {
-       SECTIONS = 
"^%(build|changelog|clean|description|install|post|posttrans|postun|pre|prep|pretrans|preun|triggerin|triggerpostun|triggerun)"
+       RPM_SECTIONS = 
"package|build|changelog|clean|description|install|post|posttrans|postun|pre|prep|pretrans|preun|triggerin|triggerpostun|triggerun"
+       SECTIONS = "^%(" RPM_SECTIONS ")"
 
        preamble = 1            # Is it part of preamble? Default - yes
        boc = 4                 # Beginning of %changelog
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.243&r2=1.244&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to