[ATrpms-devel] Rebuilding dovecot
John Robinson
john.robinson at anonymous.org.uk
Mon Feb 19 11:40:52 CET 2007
On 19/02/2007 10:37, Axel Thimm wrote:
> On Mon, Feb 19, 2007 at 10:04:27AM +0000, John Robinson wrote:
>> I'm sure having the spec set defaults based on the distribution would be
>> better, though. Some that I've seen do exactly that.
>
> That assumes that you can always guess what distribution this is. Some
> chroot environments are deliberately that scarce that you don't even
> have /etc/issue or /etc/redhat-release available to check against.
>
> The best thing is to have build-time tests as part of the %build
> section, but if that becomes too involved external switches are second
> best.
Really I meant an external switch to declare what distro, which would in
turn set the defaults.
Cheers,
John.
More information about the atrpms-devel
mailing list