I found a way to fix it. In the spec file I had to modify it so that the
%build section reads as follows:
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor INSTALLVENDORLIB=%{perl_vendorlib}
INSTALLVENDORMAN3DIR=%{_mandir}/man3
make %{?_smp_mflags}
Note that is three lines (%build, then the Makefile.PL processing, then the
make).
On Tue, Feb 18, 2014 at 2:13 AM, Bugs in CPANPLUS-Dist-Fedora via RT <
bug-CPANPLUS-Dist-Fedora@rt.cpan.org> wrote:
Show quoted text>
> Greetings,
>
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
> "Bug: Can't build rpms for recent fedora",
> a summary of which appears below.
>
> There is no need to reply to this message right now. Your ticket has been
> assigned an ID of [rt.cpan.org #93118]. Your ticket is accessible
> on the web at:
>
>
https://rt.cpan.org/Ticket/Display.html?id=93118
>
> Please include the string:
>
> [rt.cpan.org #93118]
>
> in the subject line of all future correspondence about this issue. To do
> so,
> you may reply to this message.
>
> Thank you,
> bug-CPANPLUS-Dist-Fedora@rt.cpan.org
>
> -------------------------------------------------------------------------
> Recent fedora now installs cpan modules as downloaded and built from CPAN
> into the local user's directory instead of globally. This appears to break
> the build process.
>
> On Fedora 17, steps to reproduce this are:
>
> root# cpan2dist --format=CPANPLUS::Dist::Fedora PGObject
>
> This produces a spec file in the current directory and the following errors
> on building the RPM:
>
> RPM build errors:
> File not found by glob:
>
> /root/rpmbuild/BUILDROOT/perl-PGObject-1.3-1.fc17.i386/usr/share/perl5/vendor_perl/*
> File not found by glob:
>
> /root/rpmbuild/BUILDROOT/perl-PGObject-1.3-1.fc17.i386/usr/share/man/man3/*.3*
>
> Now, checking this out, the file is actually in
>
> /root/rpmbuild/BUILDROOT/perl-PGObject-1.3-1.fc17.i386/root/perl5/lib/perl5/PGObject.pm
>
> I am looking into a possible fix. Is there a source repo I can create a
> patch against?
>
>
> --
> Best Wishes,
> Chris Travers
>
> Efficito: Hosted Accounting and ERP. Robust and Flexible. No vendor
> lock-in.
>
http://www.efficito.com/learn_more.shtml
>
--
Best Wishes,
Chris Travers
Efficito: Hosted Accounting and ERP. Robust and Flexible. No vendor
lock-in.
http://www.efficito.com/learn_more.shtml