Python utility function to grab BuildRequires packages out of rpm