Changeset 63


Ignore:
Timestamp:
06/06/06 14:02:39 (18 years ago)
Author:
kdeugau
Message:

/trunk

Make sure to replace "package data" macros in Requires and friends

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r62 r63  
    398398          if (my ($dname,$dvalue) = (/^(Summary|Group|Version|Requires|Provides):\s+(.+)$/i)) {
    399399            $dname =~ tr/[A-Z]/[a-z]/;
    400             $pkgdata{$subname}{$dname} = expandmacros($dvalue, 'g');
     400            $pkgdata{$subname}{$dname} = expandmacros($dvalue, 'gp');
    401401          }
    402402        }
     
    607607        $buildreq .= ", $1";
    608608      } elsif (/^requires:\s+(.+)/i) {
    609         $pkgdata{main}{requires} .= ", ".expandmacros("$1", 'g');
     609        $pkgdata{main}{requires} .= ", ".expandmacros("$1", 'gp');
    610610      } elsif (/^provides:\s+(.+)/i) {
    611611        $pkgdata{main}{provides} .= ", $1";
Note: See TracChangeset for help on using the changeset viewer.