Re: Where should go Perl libraries files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 23, 2006 at 10:56:39AM +0200, Christian Jodar wrote:
> Hello,
> 
> During the review of a new package that I submitted [1], there was an issue
> with the Perl libraries used by the package. The problem is that this package
> contains some libraries that are provided as .pm files. So they are not binary
> files and are platform-independant.
> 
> The question is now: Where should go these files?

My opinion is the following:

* If these are perl modules, then they should go below /usr/lib/perl5, 
  below
%{perl_vendorlib}/

rpm --eval %{perl_vendorlib}
/usr/lib/perl5/vendor_perl/5.8.8


* if it is code internal to the application which happens to be in .pm
  files it should go below %_datadir (for example in 
  %_datadir/myapp/Module.pm). It the .pm are in fact configuration 
  (for example in those files user definied constants or user defined hooks
  are set) they should go in %_sysconfdir/myapp/ConfModule.pm.


I hope that someday %{perl_vendorlib}/ will be moved to something like
/usr/share/perl5/vendor_perl/5.8.8

--
Pat 

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux