while investigating this bug: http://bugzilla.lyx.org/show_bug.cgi?id=3520
it turned out (thanks to georg for giving me some good hints) that the "requires" field is ignored for macros the attached patch fixes the bug for me but, as usual, comments are appreciated...
require.patch
Description: require.patch