Changeset 125


Ignore:
Timestamp:
08/02/07 17:52:09 (17 years ago)
Author:
kdeugau
Message:

/trunk

Fix bug introduced with the %files code shuffle; %config files entries
didn't get macro expansion applied to the entry written to the conffile
list due to the processing order shuffle.

Fix hidden bug introduced with change in expansion of %specglobals bits;
%{_vendor} was no longer expanded with the change from "expand each key
once" to "while there are unexpanded macros, replace away".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r124 r125  
    11291129      open CONFLIST, ">$buildroot/$pkg/DEBIAN/conffiles";
    11301130      foreach my $conffile (@{$pkgdata{$pkg}{conflist}}) {
     1131        $conffile = expandmacros($conffile, 'g');
    11311132        my @tmp = glob "$buildroot/$pkg/$conffile";
    11321133        foreach (@tmp) {
     
    15791580    $macrostring =~ s|%{_arch}|$hostarch|g;
    15801581    $macrostring =~ s|%{optflags}|$optflags{$hostarch}|g;
     1582    $macrostring =~ s|%{_vendor}|$specglobals{'_vendor'}|g;
    15811583
    15821584# should probably stick a "no runaway" flag in here...  Just In Case...
Note: See TracChangeset for help on using the changeset viewer.