Changeset 47 for trunk


Ignore:
Timestamp:
02/24/06 17:44:16 (19 years ago)
Author:
kdeugau
Message:

/trunk

Use $pkgdata{$pkg}{requires} instead of $pkgdata{$pkg}{depends}
so we get user-defined Requires: entries included properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r46 r47  
    692692    # comma and space here (if needed) in case there were "Requires" specified
    693693    # in the spec file - those would precede these.
    694     ($pkgdata{$pkg}{depends} .= getreqs("$buildroot/$pkg")) =~ s/^, //;
     694    ($pkgdata{$pkg}{requires} .= getreqs("$buildroot/$pkg")) =~ s/^, //;
    695695
    696696    # Do this here since we're doing {depends}...
     
    723723        "Architecture: i386\n".
    724724        "Maintainer: $pkgdata{main}{packager}\n".
    725         ( $pkgdata{$pkg}{depends} ne '' ? "Depends: $pkgdata{$pkg}{depends}\n" : '' ).
     725        ( $pkgdata{$pkg}{requires} ne '' ? "Depends: $pkgdata{$pkg}{requires}\n" : '' ).
    726726        ( defined($pkgdata{$pkg}{provides}) ? "Provides: $pkgdata{$pkg}{provides}\n" : '' ).
    727727        "Description: $pkgdata{$pkg}{summary}\n";
Note: See TracChangeset for help on using the changeset viewer.