[ATrpms-devel] Rebuilding dovecot
Axel Thimm
Axel.Thimm at ATrpms.net
Mon Feb 19 11:30:02 CET 2007
On Mon, Feb 19, 2007 at 10:04:27AM +0000, John Robinson wrote:
> 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 :-)
>
As a coincidence there was exactly the same thread on atrpms-users
(this is more atrpms-devel contents, so your request on this list was
OK). The outcome is that Oliver Schulze and I added some docu on
dovecot's wiki (until ATrpms gets one also). Check out
http://wiki.dovecot.org/PrebuiltBinaries#head-ca3d822b95a2d5d1ff2b71b532970b0a2128407d
--
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/57e49552/attachment-0001.bin
More information about the atrpms-devel
mailing list