- Timestamp:
- 05/16/07 16:30:47 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r100 r101 501 501 while (<SPECFILE>) { 502 502 next if /^#/; # Messy. Should be possible to do better. :/ 503 redo LINE if /^\% /;503 redo LINE if /^\%[a-z]/; 504 504 $pkgdata{$subname}{desc} .= " $_"; 505 505 } … … 517 517 $pkgdata{$subname}{arch} = $buildarch; # Since it's likely subpackages will NOT have a BuildArch line... 518 518 while (<SPECFILE>) { 519 redo LINE if /^\% /;519 redo LINE if /^\%[a-z]/; 520 520 if (my ($dname,$dvalue) = (/^(Summary|Group|Version|Requires|Provides|BuildArch(?:itecture)?):\s+(.+)$/i)) { 521 521 $dname =~ tr/[A-Z]/[a-z]/; … … 611 611 if (/^\%clean/) { 612 612 while (<SPECFILE>) { 613 redo LINE if /^\% /;613 redo LINE if /^\%[a-z]/; 614 614 $cleanscript .= $_; 615 615 } … … 626 626 } 627 627 while (<SPECFILE>) { 628 redo LINE if /^\% /;628 redo LINE if /^\%[a-z]/; 629 629 $pkgdata{$pkgname}{$scriptlet} .= $_; 630 630 } … … 712 712 713 713 # ... unknown or "next section" % directives ... 714 redo LINE if /^\% /;714 redo LINE if /^\%[a-z]/; 715 715 716 716 # ... and "normal" files … … 722 722 $pkgdata{main}{changelog} = ''; 723 723 while (<SPECFILE>) { 724 redo LINE if /^\% /;724 redo LINE if /^\%[a-z]/; 725 725 $pkgdata{main}{changelog} .= $_; 726 726 }
Note:
See TracChangeset
for help on using the changeset viewer.