From 0b28dc8cd455f52b3a19756fb3adc07d274571ab Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 7 Mar 2019 20:06:41 +0100 Subject: [PATCH] TT#53701 Split package into tools and perl modules packages We move all perl modules into a new libngcp-schema-perl, and the tool into a new ngcp-schema-tools. And make the old ngcp-schema a transitional dummy package. We also stop installing the test.conf file, and stop depdending on the libtest-fatal-perl package. Change-Id: I76bd8fe831c10e50c1e7582acde29b1ac1a75d91 --- debian/control | 35 +++++++++++++++++++++++++----- debian/libngcp-schema-perl.install | 2 ++ debian/ngcp-schema-tools.install | 2 ++ 3 files changed, 33 insertions(+), 6 deletions(-) create mode 100644 debian/libngcp-schema-perl.install create mode 100644 debian/ngcp-schema-tools.install diff --git a/debian/control b/debian/control index a9e6919a..306e4613 100644 --- a/debian/control +++ b/debian/control @@ -21,23 +21,46 @@ Build-Depends: Standards-Version: 3.9.8 Homepage: https://www.sipwise.com/ -Package: ngcp-schema +Package: libngcp-schema-perl Architecture: all +Replaces: + ngcp-schema, Depends: + ${misc:Depends}, + ${perl:Depends}, libdatetime-format-mysql-perl, libdbd-mysql-perl, libdbix-class-encodedcolumn-perl, libdbix-class-helpers-perl (>= 2.018003), - libdbix-class-schema-loader-perl, - libfile-sharedir-perl, - libquantum-superpositions-perl, libregexp-common-perl, libregexp-ipv6-perl, libsipwise-base-perl (>= 1.004), - libtest-fatal-perl, libxml-simple-perl, perl-doc, +Description: NGCP DBIC-derived ORM schema classes + This package provides schema classes for the NGCP databases. + +Package: ngcp-schema-tools +Architecture: all +Section: devel +Replaces: + ngcp-schema, +Depends: ${misc:Depends}, ${perl:Depends}, -Description: DBIC-derived ORM schema classes + libdbix-class-schema-loader-perl, + libngcp-schema-perl, + libquantum-superpositions-perl, + libsipwise-base-perl (>= 1.004), + perl-doc, +Description: NGCP DBIC-derived ORM schema classes - development tools This package provides schema classes for the NGCP databases. + +Package: ngcp-schema +Architecture: all +Section: oldlibs +Depends: + ngcp-schema-tools, +Description: transitional dummy package + This package has been split into libngcp-schema-perl and ngcp-schema-tools. + It can be safely removed once it is not depended on by other packages. diff --git a/debian/libngcp-schema-perl.install b/debian/libngcp-schema-perl.install new file mode 100644 index 00000000..5855a7fd --- /dev/null +++ b/debian/libngcp-schema-perl.install @@ -0,0 +1,2 @@ +usr/share/perl5/NGCP/ +usr/share/man/man3/ diff --git a/debian/ngcp-schema-tools.install b/debian/ngcp-schema-tools.install new file mode 100644 index 00000000..63c303b0 --- /dev/null +++ b/debian/ngcp-schema-tools.install @@ -0,0 +1,2 @@ +usr/bin/ +usr/share/man/man1/