Red Hat Bugzilla – Bug 142771
glob pattern * in spec files does not match square brackets
Last modified: 2012-06-20 12:10:24 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
Description of problem:
Spec file line like:
When the file name is:
/usr/opt/bork/[bork].jar (note square brackets)
results in no matches:
error: File not found by glob: /var/tmp/bork-1.0-buildroot/usr/opt/bork/*.jar
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.rpmbuild -ba bork.spec (attached)
Actual Results: error: File not found by glob: /var/tmp/bork-1.0-buildroot/usr/opt/bork/*.jar
Expected Results: RPM builds OK
Created attachment 108476 [details]
Paul Nasrat's simple spec file to demonstrate the problem
This problem is a duplicate of #147363, and is fixed in rpm cvs, rpm-4.4.8-0.9 when built.
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life.
Please See https://access.redhat.com/support/policy/updates/errata/
If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.