Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1-alpha-1
-
Fix Version/s: 2.1-alpha-2
-
Component/s: rpm
-
Labels:None
-
Environment:redhat enterprise linux 6.1, 5.5, ubuntu with rpm build tools
-
Number of attachments :
Description
using the maven rpm plugin to bundle the geronimo tarball and having another mapping contribute to the target location causes the plugin to list every file in the spec file. due to the way that rpmbuild parses that file a space counts as 2 files on the same line. this causes a build failure.
the issue is in the specwriter class, you just need to add a quote before and after destination when writing the path to the spec file
this patch is my working changes for adding quotes around the paths created by the rpm plugin to have rpmbuild deal with spaces correctly