Changeset 73


Ignore:
Timestamp:
11/15/06 13:42:18 (18 years ago)
Author:
kdeugau
Message:

/trunk

Add basic "no %files" support. Note that this needs reworking to
properly match rpm's real behaviour.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r72 r73  
    784784  foreach my $pkg (@pkglist) {
    785785
     786    # Skip building a package if it doesn't actually have any files.  NB:  This
     787    # differs slightly from rpm's behaviour where a package *will* be built -
     788    # even without any files - if %files is specified anywhere.  I can think
     789    # of odd corner cases where that *may* be desireable.
     790    next if $filelist{$pkg} =~ /^\s*$/;
     791
    786792    # Gotta do this first, otherwise we don't have a place to move files from %files
    787793    mkdir "$buildroot/$pkg";
Note: See TracChangeset for help on using the changeset viewer.