<div dir="ltr">On Mon, Jul 29, 2013 at 10:26 AM, Patrick Dupre <span dir="ltr">&lt;<a href="mailto:pdupre@gmx.com" target="_blank">pdupre@gmx.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Thank for your help.<br>
<div class="im"><br>
&gt;<br>
&gt; On Mon, Jul 29, 2013 at 9:35 AM, Patrick Dupre &lt;<a href="mailto:pdupre@gmx.com">pdupre@gmx.com</a>&gt; wrote:<br>
&gt;<br>
</div><div class="im">&gt; &gt; RPM build errors:<br>
&gt; &gt; File not found by glob:<br>
&gt; &gt; /home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64/usr/share/perl5/vendor_perl/*<br>
&gt; &gt;<br>
&gt;<br>
</div><div class="im">&gt; It&#39;s saying there&#39;s no files there... just cd into there and look around.<br>
&gt; Perhaps the files are not being installed correctly. Another option is to<br>
&gt; just comment out &quot;%{perl_vendorlib}/*&quot; and see if rpmbuild complains about<br>
&gt; unpackaged files.<br>
&gt;<br>
</div>Of course, there is not  /home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64/usr/share/perl5<br>
But where are the files?<br>
<br>
Commenting %{perl_vendorlib}/*<br>
gives:<br>
<br>
Requires(rpmlib): rpmlib(CompressedFileNames) &lt;= 3.0.4-1 rpmlib(FileDigests) &lt;= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) &lt;= 4.0-1<br>
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pdupre/rpmbuild/BUILDROOT/perl-PDL-LAPACK-0.12-1.fc18.x86_64<br>
error: Installed (but unpackaged) file(s) found:<br>
   /usr/lib/debug/.build-id/08/33a58fc0ee04cfa29b0aa6f9c0aaa31f2c6a93<br>
   /usr/lib/debug/.build-id/08/33a58fc0ee04cfa29b0aa6f9c0aaa31f2c6a93.debug<br>
   /usr/lib/debug/usr/lib64/perl5/vendor_perl/auto/PDL/LAPACK/LAPACK.so.debug<br>
   /usr/lib64/perl5/vendor_perl/PDL/LAPACK.pm<br>
   /usr/lib64/perl5/vendor_perl/auto/PDL/LAPACK/LAPACK.bs<br>
   /usr/lib64/perl5/vendor_perl/auto/PDL/LAPACK/LAPACK.so<br>
   /usr/src/debug/PDL-LAPACK-0.12/LAPACK.c<br>
   /usr/src/debug/PDL-LAPACK-0.12/LAPACK.xs<br><br></blockquote><div><br></div><div>Look closely and I think you&#39;ll find your answer. You&#39;ve set this up as a &quot;noarch&quot; package but the modules are getting installed into /usr/lib64/perl5 not /usr/share/perl5.</div>
<div><br></div><div>Either the package is installing the files to the wrong directory or your package is not a &quot;noarch&quot; package. There&#39;s a different macro to use for arch specific packages[1]</div><div><br></div>
<div>Richard</div><div><br></div><div>[1] <a href="https://fedoraproject.org/wiki/Packaging:Perl?rd=Packaging/Perl#Directory_Ownership">https://fedoraproject.org/wiki/Packaging:Perl?rd=Packaging/Perl#Directory_Ownership</a> </div>
</div><br></div></div>