python-qt5 is not built with $RPM_OPT_FLAGS. Looks like the issue was introduced between 5.5.1-7.fc24 and 5.5.1-8.fc24
Arg, thanks, should be fixed for real in python-qt5-5.5.1-14