When creating (s)rpm's from perl modules I use a slightly
modified version of the cpanflute script found in the
The purpose of the `macro-ization' of the generated spec file
is to minimize the changes people need to make to the spec file
when they update a package in between redhat releases.
Please do a diff with /usr/lib/rpm/cpanflute and change what you like.
Created attachment 40267 [details]
`macro-ization' of spec files generated by cpanflute
rpm-4.0.4 contains a cpanflute2 script that
will be used in the future. In addition,
this script will end up in a CPAN package,
not in rpm-build in the future, so I'm gonna
assign to the guy who wrote cpanflute2.
Closing bugs on older, no longer supported, releases. Apologies for any lack of
For RPM issues, please try a current release such as Fedora Core 4; if bugs
persist, please open a new issue.