[packagers] acroread dependencies error
Wil Cooley
wcooley at nakedape.cc
Thu Jan 11 21:43:50 CET 2007
Dag, Dries, etc.:
The acroread.spec produces RPMs that are not installable, because three
new libraries come up with the '(VERSION)' dependency:
$ rpm -ivh acroread-7.0.9-1.i386.rpm mozilla-acroread-7.0.9-1.i386.rpm
error: Failed dependencies:
libAXE16SharedExpat.so(VERSION) is needed by acroread-7.0.9-1.i386
libAXE8SharedExpat.so(VERSION) is needed by acroread-7.0.9-1.i386
libAXSLE.so(VERSION) is needed by acroread-7.0.9-1.i386
One alternative is to add these to the "Provides:" spec, as has already
been done. Another is to go back to automatic dependencies but filter
the requirements:
%define __find_requires sh -c "/usr/lib/rpm/find-requires|grep -v VERSION"
(Unfortunately, you have to hard-code the path to find-requires, because
RPM's macro language doesn't handle recursion well.)
Wil
--
Wil Cooley <wcooley at nakedape.cc>
http://nakedape.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.rpmforge.net/pipermail/packagers/attachments/20070111/18402a1a/attachment.bin
More information about the packagers
mailing list