Option #1
You can use cpan2rpm to cleanly build rpm modules directly from the cpan counterparts.
Option #2
Many perl modules contain a premade SPEC file, enabling building an rpm directly from source:
rpmbuild -ta package.tar.gz
You can use cpan2rpm to cleanly build rpm modules directly from the cpan counterparts.
Many perl modules contain a premade SPEC file, enabling building an rpm directly from source:
rpmbuild -ta package.tar.gz