Bug 243157
Summary: | brp-java-repack-jars fails if jar file contains filenames with spaces | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Roy Bonser <rbonser> | ||||||
Component: | redhat-rpm-config | Assignee: | Jon Masters <jcm> | ||||||
Status: | CLOSED ERRATA | QA Contact: | |||||||
Severity: | high | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 5.0 | CC: | jhutar, k.georgiou, mmalik, overholt | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2009-01-20 22:04:43 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Roy Bonser
2007-06-07 16:19:55 UTC
*** Bug 207338 has been marked as a duplicate of this bug. *** Created attachment 308362 [details]
Patch for brp-java-repack-jars to fix the space issue
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?". This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Created attachment 312978 [details]
.src.rpm with jar which contains files with spaces in their names
(Thanks jcastro for that jar)
$ jar tvf with-spaces.jar
62 Wed Jul 30 10:04:12 CEST 2008 META-INF/MANIFEST.MF
552 Wed Jul 30 09:51:52 CEST 2008 org/jboss/test/jar/Main.class
226 Wed Jul 30 09:50:34 CEST 2008 .classpath
362 Wed Jul 30 09:50:34 CEST 2008 .project
0 Wed Jul 30 10:03:38 CEST 2008 resources/many spaces here
I can still reproduce with redhat-rpm-config-8.0.45-24.el5.noarch:
# rpmbuild --rebuild with-spaces-in-jar-0.1-1.src.rpm
...
+ /usr/lib/rpm/redhat/brp-java-repack-jars
cp: cannot stat `./resources/many': No such file or directory
cp: cannot stat `spaces': No such file or directory
cp: cannot stat `here': No such file or directory
Processing files: with-spaces-in-jar-0.1-1
...
Wrote: /usr/src/redhat/RPMS/i386/with-spaces-in-jar-0.1-1.i386.rpm
...
+ exit 0
In redhat-rpm-config-8_0_45-27_el5 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0224.html |