how to keep rpmbuild directory clean
Maxim Burgerhout
maxim at wzzrd.com
Fri Jun 17 19:24:00 UTC 2011
It might very well work indeed, good point. It's one of those things that
has been in my config files for quite some time and don't exactly know the
history of anymore :-)
On Jun 17, 2011 9:18 PM, "Jos Vos" <jos at xos.nl> wrote:
> 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 at xos.nl>
> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
> -- Amsterdam, The Netherlands | Fax: +31 20 6948204
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20110617/fe8428d7/attachment.html
More information about the devel
mailing list