]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- match also %package for adapter to locate preambles properly
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 13 Dec 2005 17:13:23 +0000 (17:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.244

adapter.awk

index 8576856626d83c8385ea4e499f18bc174acfbd9c..01ecb19383e773d33e1e108977b89909cee92667 100644 (file)
@@ -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
This page took 0.433465 seconds and 4 git commands to generate.