Hi, On Mon, 16 May 2016, Michal Kubecek wrote:
With version 3.0, both access modes are now provided by a single library, libfbclient. I added Provides and Obsoletes for both libfbclient2-devel (the "2" was an old mistake) and libfbembed-devel but that doesn't really help. First, a package linking against -lfbembed won't be really satisfied by libfbclient-devel package. Second, this doesn't resolve build dependency on pkgconfig(fbembed) which libreoffice uses (and an explicit "Provides: pkgconfig(fbembed)" won't help even if it works).
One idea is to provide a fbembed.pc file with Libs and Cflags copied from fbclient.pc so that any package using pkgconfig would still build. But that doesn't seem to be a clean solution.
Well, if you don't want to change any depending packages, then you need to provide a fbembed.pc and an libfbembed.so file (the latter can be symlinked to libfbclient.so). If you do accept the idea of having to change depending packages then I wouldn't do any compatibility hacks in libfbclient, and just deal with the issues in those depending packages (are there many?)
It would be nice if one could say "require either libfbclient-devel >= 3 or libfbembed-devel" but I don't think it's possible.
Hackery based on %suse_version, as many other package do as well. But the make system of those package might need changes as well, not just the BuildRequires spec section; some might hardcode the -lfbembed name. Ciao, Michael. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org