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

Upstream-only version dependency in debian/control

(Please CC me in your replies, I'm not subscribed to debian-devel)


I'm trying to get my package to depend on a specific upstream version of
another package and ignore the Debian component of the version string.

Given package foo 1.2.3-1, I want package bar (which is not built from the
same source package) to have a line like:

  Depends: foo (= 1.2.3)

but not:

  Depends: foo (= 1.2.3-1)


  Depends: foo (>= 1.2.3)

(since that last one would accept foo 1.2.4-1 for instance)

Is that possible?  Is this documented anywhere?  Chapter 7 of the policy
doesn't seem to mention it.



Reply to: