Changeset 18


Ignore:
Timestamp:
11/14/05 16:28:57 (19 years ago)
Author:
kdeugau
Message:

/trunk

Added internal storage of %changelog content

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r17 r18  
    309309          $pkgdata{main}{desc} .= " $_";
    310310        }
    311 
    312       }
     311      }
     312
    313313      if (/^\%prep/) {
    314314        # %prep section.  May have %setup macro;  may include %patch tags,
     
    414414        # Danger! Danger!
    415415      }
     416      if (/^\%changelog/) {
     417        $pkgdata{main}{changelog} = '';
     418        while (<SPECFILE>) {
     419          redo LINE if /^\%/;
     420          $pkgdata{main}{changelog} .= $_;
     421        }
     422      }
    416423
    417424    } else {    # Data from the spec file "header"
Note: See TracChangeset for help on using the changeset viewer.