Changeset 91
- Timestamp:
- 04/17/07 17:39:37 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r90 r91 451 451 $dname =~ tr/[A-Z]/[a-z]/; 452 452 if ($dname =~ /^BuildArch/i) { 453 $dvalue =~ s/^noarch/all/ig; 453 454 $buildarch = $dvalue; # Emulate rpm's behaviour to a degree 454 455 $dname = 'arch'; … … 693 694 } elsif (/^buildarch(?:itecture)?:\s+(.+)/i) { 694 695 $pkgdata{main}{arch} = $1; 696 $pkgdata{main}{arch} =~ s/^noarch$/all/; 695 697 $buildarch = $pkgdata{main}{arch}; 696 698 } elsif (/^buildreq(?:uires)?:\s+(.+)/i) { … … 814 816 815 817 $pkgdata{$pkg}{arch} = $hostarch if !$pkgdata{$pkg}{arch}; # Just In Case. 816 $pkgdata{$pkg}{arch} =~ s/^noarch/all/ig;817 818 818 819 # Make sure we have somewhere to write the .deb file
Note:
See TracChangeset
for help on using the changeset viewer.