Bug#678403: should have stricter dependencies between liboce-*-dev
Julien Cristau
julien.cristau at logilab.fr
Thu Jun 21 13:59:08 UTC 2012
Source: oce
Version: 0.10-1
Severity: normal
Hi Denis,
it seems the oce -dev packages don't version their dependencies, which
can lead to a mix of different versions. I'd suggest the below change
(probably stricter than actually necessary, but that shouldn't harm).
Cheers,
Julien
diff --git a/debian/control b/debian/control
index 3c415a7..fda54f4 100644
--- a/debian/control
+++ b/debian/control
@@ -148,7 +148,7 @@ Description: OpenCASCADE Community Edition CAE platform library development file
Package: liboce-modeling-dev
Architecture: all
Section: libdevel
-Depends: liboce-foundation-dev,
+Depends: liboce-foundation-dev (>= ${source:Upstream-Version}), liboce-foundation-dev (<< ${source:Upstream-Version}+1~),
liboce-modeling3 (>= ${source:Upstream-Version}), liboce-modeling3 (<< ${source:Upstream-Version}+1~),
${misc:Depends}
Replaces: libopencascade-modeling-dev
@@ -165,8 +165,8 @@ Description: OpenCASCADE Community Edition CAE platform library development file
Package: liboce-ocaf-lite-dev
Architecture: all
Section: libdevel
-Depends: liboce-foundation-dev,
- liboce-modeling-dev,
+Depends: liboce-foundation-dev (>= ${source:Upstream-Version}), liboce-foundation-dev (<< ${source:Upstream-Version}+1~),
+ liboce-modeling-dev (= ${binary:Version}),
liboce-ocaf-lite3 (>= ${source:Upstream-Version}), liboce-ocaf-lite3 (<< ${source:Upstream-Version}+1~),
${misc:Depends}
Replaces: libopencascade-ocaf-lite-dev
@@ -183,9 +183,9 @@ Description: OpenCASCADE Community Edition CAE platform library development file
Package: liboce-ocaf-dev
Architecture: all
Section: libdevel
-Depends: liboce-foundation-dev,
- liboce-modeling-dev,
- liboce-ocaf-lite-dev,
+Depends: liboce-foundation-dev (>= ${source:Upstream-Version}), liboce-foundation-dev (<< ${source:Upstream-Version}+1~),
+ liboce-modeling-dev (= ${binary:Version}),
+ liboce-ocaf-lite-dev (= ${binary:Version}),
liboce-ocaf3 (>= ${source:Upstream-Version}), liboce-ocaf3 (<< ${source:Upstream-Version}+1~),
${misc:Depends}
Replaces: libopencascade-ocaf-dev
@@ -202,9 +202,9 @@ Description: OpenCASCADE Community Edition CAE platform library development file
Package: liboce-visualization-dev
Architecture: all
Section: libdevel
-Depends: liboce-foundation-dev,
- liboce-modeling-dev,
- liboce-ocaf-lite-dev,
+Depends: liboce-foundation-dev (>= ${source:Upstream-Version}), liboce-foundation-dev (<< ${source:Upstream-Version}+1~),
+ liboce-modeling-dev (= ${binary:Version}),
+ liboce-ocaf-lite-dev (= ${binary:Version}),
liboce-visualization3 (>= ${source:Upstream-Version}), liboce-visualization3 (<< ${source:Upstream-Version}+1~),
${misc:Depends}
Replaces: libopencascade-ocaf-lite-dev
-- System Information:
Debian Release: 6.0.5
APT prefers stable
APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
Julien Cristau <julien.cristau at logilab.fr>
Logilab http://www.logilab.fr/
Informatique scientifique & gestion de connaissances
More information about the debian-science-maintainers
mailing list