On 2003.07.07 18:20, Charles A Edwards wrote:
Why not also define %mklibname I thought this was to be done for all <libpkg> or or we free to pick and choose.
I don't know what you're talking about... I did use mklibname:
-- %define major 0 %define libname %mklibname %name %major --
My changelog entry refers to adding the --libdir= definition to this line:
-- ./configure --prefix=%_prefix --libdir=%_libdir --enable-shared --
I couldn't use %configure as libtool is a broken stupid piece of crap, and often adds prefixes to binaries and drops suffixes from libraries. I just added -libdir= to get rpmlint to stop complaining.
Onto your second question - when to use mklibname - I believe it should be used all the time. Unfortunately I don't know how to do so when the package has "lib" in the %name variable. One would assume mklibname could be smart enough not to name the library liblibname0. If there is an easy solution to that problem I'd love to know it.
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
