- Timestamp:
- 06/13/06 12:44:39 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r65 r66 455 455 qq([ `/usr/bin/id -u` = '0' ] && /bin/chgrp -Rhf root .\n). 456 456 qq(/bin/chmod -Rf a+rX,g-w,o-w .\n); 457 } elsif (/^\%patch([^:]+)\s+(.+)$/) { 458 $prepscript .= "patch $2 <$topdir/SOURCES/".$pkgdata{main}{"patch$1"}."\n"; 457 } elsif ( my ($patchnum,$patchopts) = (/^\%patch([^:]+)(\s+.+)?$/) ) { 458 $prepscript .= "patch "; 459 $prepscript .= $patchopts if $patchopts; 460 $prepscript .= " <$topdir/SOURCES/".$pkgdata{main}{"patch$patchnum"}."\n"; 459 461 } else { 460 462 last PREPSCRIPT if /^\%/; … … 625 627 $pkgdata{main}{$patchname} = $patchbits[$#patchbits]; 626 628 } 629 chomp $pkgdata{main}{$patchname}; 627 630 } elsif (/^buildreq(?:uires)?:\s+(.+)/i) { 628 631 $buildreq .= ", $1";
Note:
See TracChangeset
for help on using the changeset viewer.