Le samedi 28 mai 2011, à 02:11 +0100, Nelson Marques a écrit :
My questions are quite simple:
1. Can we use a '%define _libdir %{libexecdir}? This would make the packages always install on /usr/lib (or as an alternative, '%define _libdir %{prefix}/lib');
I don't understand. Why not use %{_libexecdir} directly?
2. Why would we want to drop the .pc file on /usr/share? If we would use the macro above, shouldn't it also be sane to dump the .pc file on /usr/lib/pkgconfig ?
That's how pkg-config works: arch-independent .pc files go to /usr/share/pkgconfig. So it's right the current way.
3. In the cases where we have a devel package only for the .pc file, could we merge it and have a 'Provides: %{name}-devel' ?
We could, yes. Not sure if it's better or not; possibly a matter of taste. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org