This module provides methods for creating RPM Spec files. Currently rpm-python lacks Spec file support.
Simple getters and setters
$oldurl = $spec->url;
$spec->url('http://www.python.org');
Lists are handled by index, push or clear methods
write_specfile($file) handles outputting the final Spec file
cpanflute2 provides a good example of RPM::Specfile and is useful for those wishing to create RPMs from CPAN