Same concepts from install apply here too in terms of removing the RPM-specific options and changing around the abstraction.