Description of Problem: SSIA. Performing a re-build of comps from the SRPM fails on an everything install of Limbo (round 2). Version-Release number of selected component (if applicable): # ls -l comps-7.3.93-0.20020726.src.rpm -rw-r--r-- 1 root root 2445 Jul 26 11:44 comps-7.3.93-0.20020726.src.rpm # md5sum comps-7.3.93-0.20020726.src.rpm c9ad885fbd4b3ef3a825969c1fb88f05 comps-7.3.93-0.20020726.src.rpm How Reproducible: always (100%) Steps to Reproduce: 1. Limbo, second beta, "everything" install 2. rpm -Uvh {distdir}/SRPMS/comps-7.3.93-0.20020726.src.rpm 3. rpm -ba /usr/src/redhat/SPECS/comps.spec Actual Results: Out of "rpm -ba" is attached Expected Results: Successful build Additional information: [ Output of rpmbuild -ba ] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.13674 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + '[' -d '%{basedir}' ']' + echo 'This specfile needs access to %{basedir}' This specfile needs access to %{basedir} + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.13674 (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.13674 (%prep)
Yes, you have to pass defines to this package for it to rebuild otherwise it can't find the location of the bits it's packaging up.
Hokey-dokey. What magic arguments must one supply to rpmbuild so that this SRPM can be re-built without errors?