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 <tomascohen@theke.io> Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> (cherry picked from commit0c5905843d) Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> (cherry picked from commit7b9bda5881) Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
parent
68a7b80be9
commit
0a7c01e8af
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue