Building RPM inside application source dir

Sam Varshavchik mrsam at courier-mta.com
Sun Jun 5 20:50:20 UTC 2005


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050605/ca8259ad/attachment-0001.sig>


More information about the fedora-list mailing list