Easy Spec file question

Bill Crawford billcrawford1970 at gmail.com
Tue Mar 10 15:03:45 UTC 2009


On Tuesday 10 March 2009 14:51:20 Tom Diehl wrote:

> 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.

Common options for all rpm modes and executables:
  -D, --define='MACRO EXPR'     define MACRO with value EXPR




More information about the devel mailing list