So this package[1] would be correctly packaged ? [1] - https://build.opensuse.org/package/view_file?file=dbus-sharp.spec&package=dbus-sharp&project=home%3Aketheriel%3Abranches%3AMono&srcmd5=8fb57678a54305a5048f80985daac7ea On Sun, May 29, 2011 at 2:11 PM, Pavol Rusnak <prusnak@opensuse.org> wrote:
On 28/05/11 11:35, Vincent Untz wrote:
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?
I wanted to ask this question too. :-)
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.
+1
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.
We should not, because installing SomeMonoApplication would install all it's development requirements which is not what you want. (It's probably OK if all mono devel packages contained only one .pc file, but I suppose that is not the case ...).
-- Best Regards / S pozdravom,
Pavol RUSNAK SUSE LINUX, s.r.o openSUSE Boosters Team Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9 prusnak[at]opensuse.org Czech Republic -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
-- Nelson Marques /* As cicatrizes lembram-nos de onde estivemos, mas não ditam para onde vamos */ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org