Pay attention to dir vs file when building (RhBug:505995)
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 27 Jun 2011 11:52:22 +0000 (14:52 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 27 Jun 2011 12:03:18 +0000 (15:03 +0300)
commit23167c3ea459405c98d8e759993efb6d9b1ea7f3
tree11bc1d76bd2e139f5acf4a62311c0f671250bfbf
parent65e88045ba80b175418b865fe4c4a88d48c00189
Pay attention to dir vs file when building (RhBug:505995)

- Preserve trailing slash if it exists, and also add one on explicit
  %dir entires. This lets rpmGlob() and friends to skip any matching
  files that might be present, fixing both test-cases in RhBug:505995.
build/files.c