I have been trying to create a source rpm for gtypist - I can compile this source without any problem with the ./configure, make and make install.
The %configure part in the .spec file doesn't seem to work at all, so I instead tried to use %configure2_5x. This works a lot better, but with an error that I have managed to trace down to a particular flag that is set by %configure2_5x :
- Code: Select all
script.c:334:7: error: format not a string literal and no format arguments [-Werror=format-security]
A (more than) couple of questions :
Is it possible to somehow, only bypass that flag (-Werror=format-security) , and keep everything else?
Is it OK to do so? Would it break mageia standards?
Is it possible to change the source somehow to resolve this error?
Is there some other mistake I am making?
Thanks for your time! I am very new to this and hence I may have made some mistakes.