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: %_topdir /scratch/orion/redhat %_rpmtopdir %{_topdir}/%{name}-%{version} In my ~/.rpmmacros. Version-Release number of selected component (if applicable): rpmrebuild-2.8-1.el6.noarch
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.