Building RPM inside application source dir
Miles Sabin
miles at milessabin.com
Mon Jun 6 00:01:41 UTC 2005
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
More information about the fedora-list
mailing list