From 0c5905843dfc55e422c667f9d0aa6f243f56f1a8 Mon Sep 17 00:00:00 2001 From: Mirko Tietgen Date: Sat, 12 Nov 2016 08:50:04 +0100 Subject: [PATCH] Bug 17618: perl-modules Debian package name change Newer versios of perl-modules have a version number in the package name. This patch makes Koha aware of perl-modules-5.22 and perl-modules-5.24 Signed-off-by: Tomas Cohen Arazi Signed-off-by: Mirko Tietgen Signed-off-by: Kyle M Hall --- debian/control.in | 2 +- debian/list-deps | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/control.in b/debian/control.in index 1a29ce0ff8..53b1d71951 100644 --- a/debian/control.in +++ b/debian/control.in @@ -11,7 +11,7 @@ Standards-Version: 3.8.4 # There are some exceptions. Build-Depends:__AUTODEPENDS__, debhelper (>= 7.0.50), gettext, xsltproc, docbook-xsl, ttf-dejavu, - libxml2-utils, bash-completion, perl-modules (>= 5.14.2) | libtest-simple-perl (>= 0.98) + libxml2-utils, bash-completion, perl-modules (>= 5.14.2) | perl-modules-5.22 | perl-modules-5.24 | libtest-simple-perl (>= 0.98) Package: koha-common Architecture: all diff --git a/debian/list-deps b/debian/list-deps index 617393a9bc..a1b37cf251 100755 --- a/debian/list-deps +++ b/debian/list-deps @@ -27,7 +27,7 @@ use C4::Installer::PerlDependencies; # debian one. my %overrides = ( 'LWP::Protocol::https' => 'liblwp-protocol-https-perl|libwww-perl (<6.02), libio-socket-ssl-perl', - 'IO::Socket::IP' => 'perl-modules (>= 5.20.0) | libio-socket-ip-perl', + 'IO::Socket::IP' => 'perl-modules (>= 5.20.0) | perl-modules-5.22 | perl-modules-5.24 | libio-socket-ip-perl', 'Swagger2' => 'libswagger2-perl (>= 0.59)', 'Mojolicious' => 'libmojolicious-perl (>= 6.0)', ); @@ -71,6 +71,8 @@ foreach my $module ( keys %$deps ) { foreach my $pkg (@lines) { print " | " if ( $pkg ne $lines[0] ); print "$pkg"; + print " | $pkg" . "-5.22" if ( $pkg eq "perl-modules" ); + print " | $pkg" . "-5.24" if ( $pkg eq "perl-modules" ); } print "\n"; } -- 2.39.5