Add to check condition for emulator in spec file