Easy Spec file question
Tom Diehl
tdiehl at rogueind.com
Tue Mar 10 14:51:20 UTC 2009
Hi,
I am trying to understand the following lines in a spec file.
The spec file is from the fedora postfix rpm and I would like to rebuild
the rpm with mysql enabled. I think that I can simply change the first
line to say %define MYSQL 1 but I am wondering if there is a parameter
I can pass from the rpmbuild command line so that I do not have to modify
the spec file.
Can someone please tell me how to get the srpm to build with mysql enabled
without modifying the spec?
%{?!MYSQL: %define MYSQL 1}
%{?!PGSQL: %define PGSQL 0}
%define LDAP 2
%define PCRE 1
%define SASL 2
Regards,
--
Tom Diehl tdiehl at rogueind.com Spamtrap address mtd123 at rogueind.com
More information about the fedora-devel-list
mailing list