[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Listing dependencies with specific versions



Hi all,

I'm in the process of building my first package. Most of the dependencies
generated by ${shlibs:Depends} are fine for the package, but I need to force
the version of one particular component.

So I've put

Depends: ${shlibs:Depends}, ${misc:Depends}, libflac++6(>=1.2.1)

in the 'control' file. This causes Lintian to issue a warning:

package-has-a-duplicate-relation depends: libflac++6, libflac++6 (>= 1.2.1)

The questions I have are:

1. Is this an acceptable method of listing the required libraries, or should
I list all of them individually?

2. If this is acceptable, will having two 'dependencies' make it do the
right thing?

Thanks

Andy


Reply to: