On Sat, 23 Apr 2011, Dave Miller wrote:

> %{__perl} Makefile.PL LIB="/usr/lib/perl5/vendor_perl/5.8.8" 
> INSTALLMAN1DIR="/usr/local/lib/man/man1" 
> INSTALLMAN3DIR="/usr/local/lib/man/man3" INSTALLBIN="/usr/local/bin" 
> INSTALLSCRIPT="/usr/local/bin" INSTALLDIRS=perl
> 
> I know putting stuff into /usr/local from an RPM is controversial, but 
> this way it lets it install stuff without conflicting with core 
> packages, and also puts the installed files first in your path, so you 
> can actually use them normally.

Are there any conflicts involving files other than manpages?

Manpages could be installed in the standard directory (/usr/share/man)
if you changed their suffix. Unfortunately, the result is not quite 
deterministic because it depends on the ordering of filenames 
in a directory (man appears to always pick the last matching file).

Another solution would be to create (perhaps by way of a dedicated special
package the other packages would depend on) new manpage sections (e.g.  
3rfx) and insert them into MANSECT in /etc/man.config before the standard
sections.

I am not sure whether it would be less or more controversial than 
installing packaged files in /usr/local.

-- 
Pavel Kankovsky aka Peak                          / Jeremiah 9:21        \
"For death is come up into our MS Windows(tm)..." \ 21st century edition /

_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to