View | Details | Raw Unified | Return to bug 25591
Collapse All | Expand All

(-)a/debian/list-deps (-5 / +7 lines)
Lines 27-33 use C4::Installer::PerlModules; Link Here
27
my %overrides = (
27
my %overrides = (
28
    'LWP::Protocol::https' => 'liblwp-protocol-https-perl|libwww-perl (<<6.02), libio-socket-ssl-perl',
28
    'LWP::Protocol::https' => 'liblwp-protocol-https-perl|libwww-perl (<<6.02), libio-socket-ssl-perl',
29
    'HTTP::OAI'            => 'libhttp-oai-perl (>= 3.2) | libhttp-oai-3.27-perl, libhttp-oai-perl (<< 4.0) | libhttp-oai-3.27-perl',
29
    'HTTP::OAI'            => 'libhttp-oai-perl (>= 3.2) | libhttp-oai-3.27-perl, libhttp-oai-perl (<< 4.0) | libhttp-oai-3.27-perl',
30
    'IO::Socket::IP'       => 'perl-modules (>= 5.20.0) | perl-modules-5.22 | perl-modules-5.24 | libio-socket-ip-perl',
30
    'IO::Socket::IP'       => 'perl-modules (>= 5.20.0) | libio-socket-ip-perl',
31
    'Swagger2'             => 'libswagger2-perl (>= 0.59)',
31
    'Swagger2'             => 'libswagger2-perl (>= 0.59)',
32
    'Mojolicious'          => 'libmojolicious-perl (>= 6.0)',
32
    'Mojolicious'          => 'libmojolicious-perl (>= 6.0)',
33
);
33
);
Lines 57-67 foreach my $phase ($prereqs->phases) { Link Here
57
            # Remove packages that are required/essential and always installed on
57
            # Remove packages that are required/essential and always installed on
58
            # a Debian system. Debian packages should not have unversioned
58
            # a Debian system. Debian packages should not have unversioned
59
            # dependencies on such packages.
59
            # dependencies on such packages.
60
61
62
            # skip perl-base and problematic version specific libperl* and 
63
            # perl-module* packages (they get installed as deps. anyway)
60
            foreach my $line (@temp) {
64
            foreach my $line (@temp) {
61
                if ( $line ne "perl-base" ) {
65
                if ( $line ne "perl-base" and $line !~ /^libperl5\./ and $line !~ /^perl-modules-5\./ ) {
62
                    @lines = ( @lines, $line );
66
                    @lines = ( @lines, $line );
63
                }
67
                }
64
            }
68
            }
69
65
            if ( exists $overrides{$module} ) {
70
            if ( exists $overrides{$module} ) {
66
                print "$overrides{$module}\n";
71
                print "$overrides{$module}\n";
67
            }
72
            }
Lines 73-80 foreach my $phase ($prereqs->phases) { Link Here
73
                foreach my $pkg (@lines) {
78
                foreach my $pkg (@lines) {
74
                    print " | " if ( $pkg ne $lines[0] );
79
                    print " | " if ( $pkg ne $lines[0] );
75
                    print "$pkg";
80
                    print "$pkg";
76
                    print " | $pkg" . "-5.22" if ( $pkg eq "perl-modules" );
77
                    print " | $pkg" . "-5.24" if ( $pkg eq "perl-modules" );
78
                }
81
                }
79
                print "\n";
82
                print "\n";
80
            }
83
            }
81
- 

Return to bug 25591