[ATrpms-devel] Rebuilding dovecot
John Robinson
john.robinson at anonymous.org.uk
Mon Feb 19 11:04:27 CET 2007
On 19/02/2007 09:55, Axel Thimm wrote:
> On Mon, Feb 19, 2007 at 09:43:45AM +0000, John Robinson wrote:
>> On 19/02/2007 09:36, I wrote:
>>> A quick look there shows configure was indeed called with
>>> --with-inotify=inotify.
>> And a closer look shows it was called without --with-linux-quota=2,
>> almost as if the bcond_with and bcond_without were working the wrong way
>> round.
>
> In fact, if you like so they are.
>
> %bcond_with means "there exists a switch --with ..., the default is w/o"
> %bcond_without means "the default is with, the switch will tunr it off"
>
> For RHEL4 you need
>
> rpmbuild --rebuild --without inotify --with pam_stack --with forcequota2
Aaaargh! Actually I was coming to that conclusion, and trying to work
out what the syntax was. Presumably also a -D"dist .el4"? Anyway,
building merrily now.
> The default behaviour always models what most users use, e.g. some
> newer Fedora Core version. For FC you wouldn't have to add any switch
> (and no %bcond macros to /etc/rpm/macros).
I'm sure having the spec set defaults based on the distribution would be
better, though. Some that I've seen do exactly that.
>>> I feel really stupid now :-(
>> Still feeling stupid, or at least too ignorant of rpm building and specs.
>
> No, it's just lack of sane documentation at ATrpms :(
Well, thank you very much for putting up with me instead :-)
Cheers,
John.
More information about the atrpms-devel
mailing list