Skip Menu |

This queue is for tickets about the CPANPLUS-Dist-Fedora CPAN distribution.

Report information
The Basics
Id: 108673
Status: resolved
Priority: 0/
Queue: CPANPLUS-Dist-Fedora

People
Owner: Nobody in particular
Requestors: joseph.konczal.ctr [...] usno.navy.mil
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.

Download smime.p7s
application/pkcs7-signature 5.4k

Message body not shown because it is not plain text.

Hi Joseph, thanks for the report and the patch. I didn't find the patch suitable (and it wasn't generated too well either - next time use the "hg diff" command with the Mercurial repository), so I coded own patch which seems to work well from my testing and is available in version 0.0.7 of CPANPLUS-Dist-Fedora. It seems to work fine from my testing, but please test it yourself and let me know if it's OK. Thanks again. Regards, -- Shlomi Fish
Subject: RE: [Non-DoD Source] [rt.cpan.org #108673] "Requires: perl(perl) >= 5.006" trouble
Date: Thu, 19 Nov 2015 06:37:30 +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>
Hi Shlomi, Your solution to the problem is better. I am using version 0.0.8 now and it is working well. I don't have a Mercurial repository yet, but maybe a unified diff, produced with "diff -u CPANPLUS/Dist/Fedora.pm{-orig,}", would be closer to what "hg diff" would produce. Joe Konczal Show quoted text
-----Original Message----- From: Shlomi Fish via RT [mailto:bug-CPANPLUS-Dist-Fedora@rt.cpan.org] Sent: Tuesday, November 10, 2015 2:44 PM To: Konczal, Joseph Subject: [Non-DoD Source] [rt.cpan.org #108673] "Requires: perl(perl) >= 5.006" trouble <URL: https://rt.cpan.org/Ticket/Display.html?id=108673 > Hi Joseph, thanks for the report and the patch. I didn't find the patch suitable (and it wasn't generated too well either - next time use the "hg diff" command with the Mercurial repository), so I coded own patch which seems to work well from my testing and is available in version 0.0.7 of CPANPLUS-Dist-Fedora. It seems to work fine from my testing, but please test it yourself and let me know if it's OK. Thanks again. Regards, -- Shlomi Fish
Download smime.p7s
application/pkcs7-signature 5.4k

Message body not shown because it is not plain text.

On Thu Nov 19 01:30:44 2015, joseph.konczal.ctr@usno.navy.mil wrote: Show quoted text
> Hi Shlomi, > > Your solution to the problem is better. I am using version 0.0.8 now > and it is > working well. >
Thanks! I'm going to close this report then. Thanks for reporting it. Show quoted text
> I don't have a Mercurial repository yet, but maybe a unified diff, > produced > with "diff -u CPANPLUS/Dist/Fedora.pm{-orig,}", would be closer to > what "hg > diff" would produce. >
You can unpack the source distribution and do «diff -u lib/CPANPLUS/Dist/Fedora.pm{-orig,}». Regards, -- Shlomi Fish. Show quoted text
> Joe Konczal > > -----Original Message----- > From: Shlomi Fish via RT [mailto:bug-CPANPLUS-Dist-Fedora@rt.cpan.org] > Sent: Tuesday, November 10, 2015 2:44 PM > To: Konczal, Joseph > Subject: [Non-DoD Source] [rt.cpan.org #108673] "Requires: perl(perl)
> >=
> 5.006" trouble > > <URL: https://rt.cpan.org/Ticket/Display.html?id=108673 > > > Hi Joseph, > > thanks for the report and the patch. I didn't find the patch suitable > (and it > wasn't generated too well either - next time use the "hg diff" command > with > the Mercurial repository), so I coded own patch which seems to work > well from > my testing and is available in version 0.0.7 of CPANPLUS-Dist-Fedora. > It seems > to work fine from my testing, but please test it yourself and let me > know if > it's OK. > > Thanks again. > > Regards, > > -- Shlomi Fish