Modifications to building rpm deps