From 2f82cf81c3fac97b273f86aac296cdc295c60958 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 11 Dec 2019 21:01:50 +0100 Subject: [PATCH] TT#53701 Improve dependencies for obsolete transitional package Let's try to make the experience a bit smoother, by tuning a bit the dependency relationships for the obsolete transitional package. We add versioned Breaks, and a version constraint to the existing Replaces, against the obsolete package, so that we force an upgrade in case we just install the libngcp-bulkprocessor-perl package. We add a strict versioned dependency from the obsolete package to the new one, so that we force a matching version, in case people try to install the package standalone. Change-Id: I2642b4ec00ccbf9d744790c52903c84f53cc9a0b (cherry picked from commit af73fb3212fe43294203d3e3c357b46fc37f74a7) --- debian/control | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 198dc3f..ab56ac5 100644 --- a/debian/control +++ b/debian/control @@ -26,7 +26,9 @@ Description: module to parse Excel spreadsheets in xlsx format Package: libngcp-bulkprocessor-perl Architecture: all Replaces: - ngcp-bulk-processor, + ngcp-bulk-processor (<< 7.3), +Breaks: + ngcp-bulk-processor (<< 7.3), Depends: ${misc:Depends}, ${perl:Depends}, @@ -81,7 +83,7 @@ Architecture: all Section: oldlibs Depends: libexcel-reader-xlsx-perl, - libngcp-bulkprocessor-perl, + libngcp-bulkprocessor-perl (= ${source:Version}), Description: transitional dummy package This package has been split into libexcel-reader-xlsx-perl and libngcp-bulkprocessor-perl. It can be safely removed once it is not