setting up rhel 5.x RPM build server for mortal users
- by Chen Levy
My task is to setup a RHEL 5.x build host, that can build RPMs for mortal users.
On RHEL 6.x with rpm version 4.8, I have in /usr/lib/macros:
# Path to top of build area.
%_topdir %{getenv:HOME}/rpmbuild
On RHEL 5.x with rpm version 4.4, the %{getevn:HOME} is not available.
I know that I can use /home/someuser/.rpmmacros:
…