Remco Poelstra writes:
Hi,
I've a nice rpm build structure, which I usually use to build my rpm's.
But for one application I want to be able to do 'make rpm' and the rpm
should be build entirely inside that applications directory. What should
I do to get that far? I coulnd't find any documents on the internet
about such a case.
Can anyone here help me with that?
echo "%_topdir `pwd`" >.rpmmacros
mkdir RPMS SRPMS SOURCES SPECS BUILD
Now, run rpmbuild from the current directory.