dzil generate_spec [filename]
This command writes a parsed version of the spec file that would be generated by Dist::Zilla::Plugin::RPM::Push during release, without having to do a full release. This is useful for testing or tweaking your RPM build without having to run dzil each time.
$ dzil generate_spec $ dzil generate_spec /path/to/foo.spec
The filename to write the specfile to.