[ATrpms-devel] Rebuilding dovecot
Axel Thimm
Axel.Thimm at ATrpms.net
Mon Feb 19 10:55:15 CET 2007
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
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 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 :(
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20070219/b9aa6771/attachment.bin
More information about the atrpms-devel
mailing list