Changeset 177


Ignore:
Timestamp:
01/08/13 16:07:06 (12 years ago)
Author:
kdeugau
Message:

/trunk

Tweak handling for Section: a little so subpackages inherit the
parent section if none was specified in the sub's %package stanza

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r176 r177  
    12921292
    12931293    my $control = "Package: $pkgdata{$pkg}{name}\n".
    1294         "Version: ".
    1295         (defined($pkgdata{main}{epoch}) ? "$pkgdata{main}{epoch}:" : '').
     1294        "Version: ".(defined($pkgdata{main}{epoch}) ? "$pkgdata{main}{epoch}:" : '').
    12961295        "$pkgdata{$pkg}{version}-$pkgdata{main}{release}\n".
    1297         "Section: $pkgdata{$pkg}{group}\n".
     1296        "Section: ".($pkgdata{$pkg}{group} ? $pkgdata{$pkg}{group} : $pkgdata{main}{group})."\n".
    12981297        "Priority: optional\n".
    12991298        "Architecture: $pkgdata{$pkg}{arch}\n".
Note: See TracChangeset for help on using the changeset viewer.