Prevent incorrect directory names when globbing
Remove unused var
Also write correct paths to spec file
Merge pull request #10 from jessetan/srcmap

Incorrect file locations with dynamic src-dest mapping (and globbing)