There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

SYNOPSIS

dzil generate_spec [filename]

DESCRIPTION

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.

EXAMPLE

$ dzil generate_spec
$ dzil generate_spec /path/to/foo.spec

OPTIONS

filename (default: "./dzil.spec")

The filename to write the specfile to.