Not in my opinion, no. But maybe it's a "think about what you are doing" thing to do. In particular, overriding "command" macros like "__cc" will probably affect the portability of your spec file/source rpm.Have the project maintainer accommodate FC systems or any systemwhere the compiler "gcc" is in fact 4.x. If it doesn't compile under GCC4the project maintainer shouldn't have a problem with this.Indeed, and infact I sent an e-mail to the author of the program. But my question could also be seen in general as how to override pre-defined macros, not only for the __cc one. Or is this in general a no-no thing to do?
In any case, your example definition is not quiet correct. You want
%define __cc gcc32
not
%define %{__cc} gcc32
- T