Changeset 91 for trunk


Ignore:
Timestamp:
04/17/07 17:39:37 (18 years ago)
Author:
kdeugau
Message:

/trunk

oops. It would help if --showpkgs generated exactly the same filenames
as a real package build - we need to store 'all' instead of 'noarch' in
$pkgdata{$pkg}{arch}.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r90 r91  
    451451            $dname =~ tr/[A-Z]/[a-z]/;
    452452            if ($dname =~ /^BuildArch/i) {
     453              $dvalue =~ s/^noarch/all/ig;
    453454              $buildarch = $dvalue;     # Emulate rpm's behaviour to a degree
    454455              $dname = 'arch';
     
    693694      } elsif (/^buildarch(?:itecture)?:\s+(.+)/i) {
    694695        $pkgdata{main}{arch} = $1;
     696        $pkgdata{main}{arch} =~ s/^noarch$/all/;
    695697        $buildarch = $pkgdata{main}{arch};
    696698      } elsif (/^buildreq(?:uires)?:\s+(.+)/i) {
     
    814816
    815817    $pkgdata{$pkg}{arch} = $hostarch if !$pkgdata{$pkg}{arch};  # Just In Case.
    816     $pkgdata{$pkg}{arch} =~ s/^noarch/all/ig;
    817818
    818819    # Make sure we have somewhere to write the .deb file
Note: See TracChangeset for help on using the changeset viewer.