rpmbuild is building in /root/rpmbuild instead of /usr/src/redhat


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » System Level

rpmbuild is building in /root/rpmbuild instead of /usr/src/redhatLast Modified: Jul 17, 2011, 11:52 pm
We've noticed that on CentOS 6, the build path had changed for rpms to

/root/rpmbuild

instead of the previous value of

/usr/src/redhat

To change it back to the value we were used to, we edited:

/usr/lib/rpm/macros

and changed:

%_topdir                %{getenv:HOME}/rpmbuild

to be:

%_topdir                %{_usrsrc}/redhat

2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST