[packman] libopencv2 requirements correct?

Martin Vogt martin.vogt at itwm.fraunhofer.de
Fri Jan 29 12:03:58 CET 2010



Hello,

today I tried an update from opencv1 to opencv2,
but it failed somehow.

Is it really necessary that libopencv1 or libopencv2
depends on opencv-$VERSION ?(and not vice-versa)

I dont thing so.
opencv only contains executable binaries and a few /usr/share files,
whereas libopencv1/2 only provides the library.

Thus it should be ok to install only libopencv2 without
the package opencv2.

Is this true?
And if it is, can this be changed?

Maybe I understand something not correctly, but usually
the binary executable depends on the libs and not vice versa.


regards,

Martin



%package -n libopencv2
Summary:        Open Computer Vision Library - Shared libraries
Group:          System/Libraries
Requires:       %{name} = %{version}

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is later in the package:

rpm -qp --requires ../RPMS/x86_64/libopencv2-2.0.0-0.pm.5.44.x86_64.rpm
| head -1
opencv = 2.0.0







More information about the Packman mailing list