rpmbuild

Henry Cejtin henry@sourcelight.com
Fri, 10 Aug 2001 03:22:20 -0500


You can use
	rpm --showrc
but the output, in addition to being butt ugly, doesn't expand macros.
Thus, with my normal home, _topdir is listed as the full value, but with
no ~/.rpmmacros file, it is listed as
	%{_usrsrc}/redhat
and a fiew lines later _usrsrc is listed as
	%{_usr}/src
and the line before that lists _usr as
	/usr
so you could put this together to see that it is /usr/src/redhat
(Barf)

I claim that if you want to include make-rpms as part of the source, then you
should probably include (maybe) the directory you build them in, along with a
.rpmmacros file, and have the makefile change the home and run it.

All of this using things in your home is pretty bad.