[ATrpms-devel] rpm build macros
Axel Thimm
Axel.Thimm at ATrpms.net
Sun Feb 18 15:40:43 CET 2007
On Sun, Feb 18, 2007 at 12:39:02PM +0000, John Robinson wrote:
> Please excuse me if this is a FAQ, but where can I find a copy of your
> rpm macros? I've just patched dovecot and I want to build a new rpm :-)
There are no special macros you need in rebuilding dovecot unless you
are on a old rpm system (RHEL4?). Is bcond giving you headaches?
Then use
%bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}}
%bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}
in /etc/rpm/macros
--
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/20070218/995b17d8/attachment.bin
More information about the atrpms-devel
mailing list