refactor build logic

no messing with specfiles anymore