Red Hat Bugzilla – Bug 857157
Make working directory if needed
Last modified: 2013-02-13 09:50:39 EST
Description of problem:
$ rpmrebuild --edit-provides -p hdf5189-intel-openmpi-1.8.9-2.el6.x86_64.rpm
Do you want to continue ? (y/N) y
/tmp/rpm/rpm-tmp.KR7tjx: line 26: cd: /scratch/orion/redhat/hdf5189-intel-openmpi-1.8.9: No such file or directory
error: Bad exit status from /tmp/rpm/rpm-tmp.KR7tjx (%clean)
Bad exit status from /tmp/rpm/rpm-tmp.KR7tjx (%clean)
/usr/lib/rpmrebuild/rpmrebuild.sh: ERROR: package 'hdf5189-intel-openmpi-1.8.9-2.el6.x86_64.rpm' build failed
Looks like it may need to create the working directory. I have:
In my ~/.rpmmacros.
Version-Release number of selected component (if applicable):
Hi, sorry for the late reply. This is not a rpmrebuild issue, but a rpmbuild configuration. rpmrebuild depends on rpmbuild, and it is part of the configuration of rpmbuild for the users to set up the config directories.
I hope this helps.