From f70555d3582a708fab148fa1a6285a8ca0ca57cb Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 14 Nov 2017 19:20:23 +0100 Subject: [PATCH] TT#53701 Transition perl module package into a libfoo-perl package The current ngcp-api-tools package name seems to indicate this contains some actual tool, but it only provides perl modules. Let's rename it to clarify its actual intent. At the same time we demote the ngcp-panel from a Depends to a Recommends, because this is an HTTP client and can be used from a host that has no panel installed against a host that has it. And remove the ngcp-api-tools provides as we are not providing any tool. Change-Id: I3fd3854a91cc680f71d5465bc7c397f292f7b95a --- debian/control | 37 ++++++++++++------- ...nstall => libngcp-api-client-perl.install} | 0 2 files changed, 24 insertions(+), 13 deletions(-) rename debian/{ngcp-api-tools.install => libngcp-api-client-perl.install} (100%) diff --git a/debian/control b/debian/control index 4fc9997..3f12e71 100644 --- a/debian/control +++ b/debian/control @@ -8,28 +8,38 @@ Build-Depends: Standards-Version: 3.9.8 Homepage: https://www.sipwise.com/ -Package: ngcp-api-tools +Package: libngcp-api-client-perl Architecture: all Depends: - ngcp-panel, ${misc:Depends}, ${perl:Depends}, -Provides: - ngcp-api-tools, +Recommends: + ngcp-panel, Conflicts: ngcp-ossbss, ngcp-www-admin (<= 2), Replaces: + ngcp-api-tools, ngcp-ossbss, -Description: NGCP REST API related tools - This package contains files needed by all interface modules on - NGCP management hosts. +Section: perl +Description: NGCP REST API client module + This package contains the NGCP::API::Client module needed by all interface + modules on NGCP management hosts. + +Package: ngcp-api-tools +Architecture: all +Depends: + libngcp-api-client-perl, +Description: transitional dummy package + This package has been renamed to libngcp-api-client-perl. It can be safely + removed once it is not depended on by other packages. Package: ngcp-billing-tools Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, + libngcp-api-client-perl, Provides: ngcp-api-tools, Conflicts: @@ -40,15 +50,16 @@ Replaces: ngcp-ossbss, Breaks: ngcp-ossbss-billing (<< 3.19), -Description: NGCP Billing related tools - This package contains files needed by all interface modules on - NGCP management hosts. +Description: NGCP billing related tools + This package contains billing related tools that use the NGCP API, + needed by all interface modules on NGCP management hosts. Package: ngcp-provisioning-tools Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, + libngcp-api-client-perl, Provides: ngcp-api-tools, Conflicts: @@ -59,6 +70,6 @@ Breaks: ngcp-ossbss-clients-perl (<< 3.19), Replaces: ngcp-ossbss, -Description: NGCP Provisioning related tools - This package contains files needed by all interface modules on - NGCP management hosts. +Description: NGCP provisioning related tools + This package contains provisioning tools that use the NGCP API, + needed by all interface modules on NGCP management hosts. diff --git a/debian/ngcp-api-tools.install b/debian/libngcp-api-client-perl.install similarity index 100% rename from debian/ngcp-api-tools.install rename to debian/libngcp-api-client-perl.install