Re: Building RPM inside application source dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux