summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2019-07-22 23:45:56 -0300
committergregor herrmann <gregoa@debian.org>2019-07-22 23:45:56 -0300
commit85779f114dc32e4c6f0342b01472435bb019a092 (patch)
tree822b15168884d77701f5f9f01e1f495c3e867974
parent6fe1d368648a1a34af8823d55c5f8b295c6021a7 (diff)
Switch from libjson-xs-perl to libcpanel-json-xs-perl.
Add libcpanel-json-xs-perl to Build-Depends-Indep, replace libjson-xs-perl with libcpanel-json-xs-perl in Depends. Config::Any has issues with changes in JSON, JSON::PP and JSON::XS. By adding libcpanel-json-xs-perl as a build dependency, and forcing it at runtime, Cpanel::JSON::XS is the preferred alternative, and buildtime tests and autopkgtest pass again.
-rw-r--r--debian/control3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 9a02b66..fa20aec 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 8)
Build-Depends-Indep: perl,
+ libcpanel-json-xs-perl,
libjson-perl,
libjson-xs-perl,
libtest-fatal-perl,
@@ -25,7 +26,7 @@ Package: libjson-any-perl
Architecture: all
Depends: ${perl:Depends},
${misc:Depends},
- libjson-xs-perl
+ libcpanel-json-xs-perl
Description: wrapper class for the various JSON classes
The JSON::Any module provides a coherent API to bring together the various
JSON modules currently on CPAN. This module will allow you to code to