On 2003.03.20 12:16 Per �yvind Karlsen wrote:
alot of packages places their datafiles in %{_libdir}/%{name}, why is that?
Laziness or tradition.
Many poorly designed packages like to make their own tree in /usr/lib. I have a lot of scientific packages that by default make a new tree under /usr/lib/name and then just install a symlink in /usr/bin to /usr/lib/name/bin. I've seen this a lot on SGI as well.
Also some distros seem to do things that way. SuSe seems to do it a lot... i.e., place everything under /usr/lib/name. While it's simpler and easier to make the package this way, it's harder to maintain and non-standards compliant.
Sometimes you'll see, there is no choice.
Our qt3 package is done this way. I don't know much about it, but I assume there was no alternative way to make it work?
would'nt it be more correct to place them in %{_datadir}/%{name}
Of course. I assume the packager was just too busy to patch the software.
Austin
--
Austin Acton Hon.B.Sc.
Synthetic Organic Chemist, Teaching Assistant
Department of Chemistry, York University, Toronto
MandrakeClub Volunteer (www.mandrakeclub.com)
homepage: www.groundstate.ca