Remco Poelstra wrote,
Sam Varshavchik wrote:
> echo "%_topdir `pwd`" >.rpmmacros
> mkdir RPMS SRPMS SOURCES SPECS BUILD
>
> Now, run rpmbuild from the current directory.
But that will overwrite my current .rpmmacros file, which I need for
the 'normal' rpm build structure that I use.
Isn't there a more non-destructive way? :)
How about,
rpmbuild --define="_topdir `pwd`" ...
Cheers,
Miles