Changeset 189


Ignore:
Timestamp:
07/11/15 22:35:39 (9 years ago)
Author:
kdeugau
Message:

/trunk

Fix handling of %{vendor} vs %{_vendor} as promted by Neal Gompa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r188 r189  
    6767
    6868$specglobals{'_vendor'} = 'debbuild';
     69# this can be changed by the Vendor: header in the spec file
    6970$specglobals{'vendor'} = 'debbuild';
    7071
     
    787788        my $altsource = 0;
    788789
    789         # yes, really.  It's not clear how this cascades down to %build or %install, but evidence suggests ?
     790        # yes, really.  It's not clear how this cascades down to %build or %install
    790791        my $thistarballdir = $tarballdir;
    791792
     
    10521053      } elsif (/^packager:\s*(.+)/i) {
    10531054        $pkgdata{main}{packager} = $1;
     1055      } elsif (/^vendor:\s*(.+)/i) {
     1056        $specglobals{vendor} = $1;
    10541057      } elsif (/^buildroot:\s*(.+)/i) {
    10551058        $specglobals{buildroot} = $1;
Note: See TracChangeset for help on using the changeset viewer.