Problems with scripts in a common spec file