Changeset 170


Ignore:
Timestamp:
09/21/12 12:18:16 (12 years ago)
Author:
kdeugau
Message:

/trunk

A handful of small polish tweaks.

  • Set a default buildroot to match rpm (at least as of Debian's release in wheezy)
  • Print collected messages when just building the source package
  • Skip comments in %description; mainly useful for trimming comments leading into the next section
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r169 r170  
    7878my $topdir = "/usr/src/debian";
    7979#my $specglobals{buildroot} = "%{_tmppath}/%{name}-%{version}-%{release}.root".int(rand(99998)+1);
    80 $specglobals{buildroot} = '';
     80$specglobals{buildroot} = '%{_topdir}/BUILDROOT/%{name}-%{version}-%{release}';
    8181
    8282# "Constants"
     
    285285if ($cmdopts{stage} eq 's') {
    286286  srcpackage();
     287  print $finalmessages;
    287288  exit 0;
    288289}
     
    725726
    726727    if ($stage eq 'desc') {
     728      next LINE if /^\s*#/;
    727729      $pkgdata{$subname}{desc} .= " $_";
    728730    } # description
Note: See TracChangeset for help on using the changeset viewer.