Description of Problem: rpm -bb fails to work if there is a space in the current working directory and the file is located there or if the filename contains a space Version-Release number of selected component (if applicable): 4.0.4 How Reproducible: everytime Steps to Reproduce: 1. mkdir /a dir 2. cd /a dir 3. cp package.tar.gz . 4. rpm -bb package.tar.gz Actual Results: Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.93492 + umask 022 + cd /usr/src/redhat/BUILD + cd /usr/src/redhat/BUILD + rm -rf File-Scan-0.26 + /bin/gzip -dc /a dir/package.tar.gz gzip: /a.gz: No such file or directory gzip: dir/package.tar.gz: No such file or directory Expected Results: fine package build Additional Information: also fails if called as rpm -bb /a\ dir/package.tar.gz i suppose this is related to 64007
Should be the same deal as queries. *** This bug has been marked as a duplicate of 64007 ***
but how do i quote the current working directory? rpm -bb package.tar.gz fails if the cwd has a space in it, how do I quote that? I know I could type rpm -bb /lots/of/dirs/down/in/here\\\ somewhere/oh/here/it/is/carpel/syndrome/time/package.tar.gz so can I have this a feature request?
Closing bugs on older, no longer supported, releases. Apologies for any lack of response. For RPM issues, please try a current release such as Fedora Core 4; if bugs persist, please open a new issue.