Created attachment 316365 [details] Patch to fix brp-java-repack-jars Description of problem: brp-java-repack-jars cannot handle filenames with spaces. The attached patch (for the rawhide version) should fix. Would be nice to set it pushed to F-9 and F-8 as well. See also bug #243157 for RHEL. Version-Release number of selected component (if applicable): redhat-rpm-config-9.0.2-1.fc9.noarch
Just stumbled into this bug doing a rawhide scratch build. Presumably, the files whose names contain spaces will not make it into the repacked jar. From the build log: + /usr/lib/rpm/redhat/brp-java-repack-jars cp: cannot stat `./references/overview/The': No such file or directory cp: cannot stat `EMF': No such file or directory cp: cannot stat `Edit': No such file or directory cp: cannot stat `Framework': No such file or directory cp: cannot stat `Overview_040301.doc': No such file or directory cp: cannot stat `./references/overview/The': No such file or directory cp: cannot stat `Eclipse': No such file or directory cp: cannot stat `Modeling': No such file or directory cp: cannot stat `Framework': No such file or directory cp: cannot stat `Overview_040301.doc': No such file or directory
(In reply to comment #1) > Just stumbled into this bug doing a rawhide scratch build. > > Presumably, the files whose names contain spaces will not make it into the > repacked jar. From the build log: > > + /usr/lib/rpm/redhat/brp-java-repack-jars > cp: cannot stat `./references/overview/The': No such file or directory > cp: cannot stat `EMF': No such file or directory > cp: cannot stat `Edit': No such file or directory > cp: cannot stat `Framework': No such file or directory > cp: cannot stat `Overview_040301.doc': No such file or directory > cp: cannot stat `./references/overview/The': No such file or directory > cp: cannot stat `Eclipse': No such file or directory > cp: cannot stat `Modeling': No such file or directory > cp: cannot stat `Framework': No such file or directory > cp: cannot stat `Overview_040301.doc': No such file or directory Worse, it results in a zero byte file being created called "./references/overview/The"
Created attachment 340370 [details] patch to brp-java-repack-jars I think this should handle spaces better.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Stumbled over this again during my periodic packaging activities... Ping! Is there anybody out there?
Fixed in rawhide.