https://bugzilla.redhat.com/show_bug.cgi?id=1872867
--- Comment #21 from Jaroslav Škarvada jskarvad@redhat.com --- (In reply to Jaroslav Škarvada from comment #20)
I also noticed that the release CFLAGS are still not used.
I think it's because you didn't used %configure macro, so you should edit the spec the following way: %make_build CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}"