From 3df7a4bae3bd2f3e115fb4b446d8b208fb30e471 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) (cherry picked from commit d0be0f9b79f6ada0a3610fbf9f2a746f173be0fe) --- debian/control | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 5ada34d..5aecf4b 100644 --- a/debian/control +++ b/debian/control @@ -18,7 +18,9 @@ Homepage: https://www.sipwise.com/ 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}, @@ -77,7 +79,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