Hello, On Fri, 01 Oct 2010, Andreas Jaeger wrote:
On Friday 01 October 2010 09:02:04 David Haller wrote:
PS: a fine example, why I don't like versioned libfooN packages. In the set I build for, I'd have to find what distribution has what from libpoppler4 to libpoppler7 and do a %if 0%{?suse_version} cascade. Fun? Not. I'd prefer "libpoppler >= $ver" and "multiversion" should take care of the rest, though one might want a UI in zypper/yast to manage "multiversion", best together with a "cleanup" feature to remove old versions (but the last N, for example). At least, the libpopplerN seem to provide "poppler".
Why are you doing that at all? You should be able to just do e.g. BuildRequires: libpoppler-devel
and then the rpm will automatically add the dependency on the right library version.
It will add a require on libpopplerN? So that libpopplerN get's pulled in when installing the binary rpm? Oh, wait, the automatic require on libpoppler.so.N should suffice. *hand -> forehead* -dnh -- I didn't know it was impossible when I did it. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org