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@xxxxxx> 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@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
> 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
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel