Re: how to keep rpmbuild directory clean

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

 



On Fri, Jun 17, 2011 at 09:03:53PM +0200, Maxim Burgerhout wrote:

> You can embed rpm macros, like %name, in your .rpmmacros file. That
> way, you can create a directory per package containing SPECS, RPMS,
> SRPMS, etc. directories. I use it like this (out of the back of my
> head):
> 
> %_topdir /home/maxim/rpmbuild
> %_specdir /home/maxim/rpmbuild/%name/SPECS
> %_rpmdir /home/maxim/rpmbuild/%name/RPMS
> %_srcrpmdir /home/maxim/rpmbuild/%name/SRPMS
> %_sourcedir /home/maxim/rpmbuild/%name/SOURCES

Isn't (only) setting %_topdir to /home/maxim/rpmbuild/%name enough
for this?  I never tested this trick, but if the rest works, just
setting %_topdir that way should be sufficient too.

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux