Description of problem: we can't use files with special wildcard symbols as regular files in %files section of spec-file. I.e. file "test-*.txt" when we try to add to rpm such file we get message: error: File not found by glob: <filename> Version-Release number of selected component (if applicable): rpm-4.2.3-13 How reproducible: Every time Steps to Reproduce: 1. get attached test.spec file 2. run rpmbuild -bb test.spec 3. we've got an error Actual results: we've got an error: error: File not found by glob: <filename> Expected results: the rpm must be built succesfully Additional info: I include a simple patch that fixes this bug, but I don't sure that this extra check of myGlobPatternP(argv[0]) is completely unnecessary. So, if this check is needed for rpm correct working, please, find another way to fix error in processing files with wildcard-symbols in it's name. Patch must be appled to the file build/files.c
Created attachment 110745 [details] spec file for testing bug
Created attachment 110746 [details] patch that fixes the bug
Is this at all related to bug #139460 ? Because I'm experiencing the problem mentioned in that bug, but on Redhat Enterprise instead of Fedora.
Fixed in rpm cvs, will be in rpm-4.4.8-0.9 when built. UPSTREAM
This bug is filed against RHEL 3, which is in maintenance phase. During the maintenance phase, only security errata and select mission critical bug fixes will be released for enterprise products. Since this bug does not meet that criteria, it is now being closed. For more information of the RHEL errata support policy, please visit: http://www.redhat.com/security/updates/errata/ If you feel this bug is indeed mission critical, please contact your support representative. You may be asked to provide detailed information on how this bug is affecting you.