[OS-BUILD PATCHv2 15/19] redhat/self-test: Add test to verify SPEC variables