Subject: | "Requires: perl(perl) >= 5.006" trouble |
Date: | Tue, 10 Nov 2015 16:40:02 +0000 |
To: | "bug-CPANPLUS-Dist-Fedora [...] rt.cpan.org" <bug-CPANPLUS-Dist-Fedora [...] rt.cpan.org> |
From: | "Konczal, Joseph" <joseph.konczal.ctr [...] usno.navy.mil> |
Thank you for your work on CPANPLUS::Dist::Fedora. I installed it and then
used cpan2dist to try to create some RPM packages from CPAN packages, since
RPM is what my customer uses to install the software they use for their
operations. They are using RHEL 6, and I am developing mainly on CentOS 6.
The cpan2dist program seemed to work well, except when it was almost
finished it ran rpmbuild which failed to resolve the requirement for
"perl(perl) >= 5.006". I tried using --ignore and --ban to avoid this
problem, but neither one helped. Finally, I looked into the code and
modified the spec file template as shown in the attached patch. This makes
it require "perl >= 5.006" instead of "perl(perl) >= 5.006". Rpmbuild is
able to resolve this dependency and produce RPM packages corresponding to
the original CPAN packages.
Joseph Konczal
Senior Programmer
General Dynamics Information Technology
3450 Massachusetts Ave, NW
Washington, DC 20392-5420
202-762-1428 (office - direct)
joseph.konczal@gdit.com
www.gdit.com
Message body is not shown because sender requested not to inline it.
Message body not shown because it is not plain text.