I tried to build binaries in RHEL6 using rpmbuild command.It throws file not found error during rpmbuild command execution. But In RHEL5 the same rpmbuild command is working fine.
RHEL5 execution result:
*Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.77266
- umask 022
- cd /usr/src/redhat/BUILD
- LANG=C
- export LANG
- unset DISPLAY*
RHEL6 execution result:
*Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BeMhyH
- umask 022
- cd //rpmbuild/BUILD
- '[' //rpmbuild/BUILDROOT/ '!=' / ']'
- rm -rf //rpmbuild/BUILDROOT/ ++ dirname //rpmbuild/BUILDROOT/
- mkdir -p //rpmbuild/BUILDROOT
- mkdir //rpmbuild/BUILDROOT/
- LANG=C
- export LANG
- unset DISPLAY
- /usr/lib/rpm/check-buildroot*
I am not able to find any %install changes between the spec files. Any one please help me to understand what am i doing wrong?
Thanks in Advance..!