Spec file + GetPathInfo() fix