From 8e646a0a0ff3266caab98b19d03c09ef7b323b12 Mon Sep 17 00:00:00 2001
From: Mason James <mtj@kohaaloha.com>
Date: Thu, 13 Oct 2022 13:36:47 +1300
Subject: [PATCH] Bug 17704: Fix OAI breakage when using HTTP::OAI 4.03+
Content-Type: text/plain; charset="utf-8"

bump version in cpanfile, and remove from debian/list-deps

(no test plan)
---
 cpanfile         | 2 +-
 debian/list-deps | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/cpanfile b/cpanfile
index be38c166b1..045c6aa6a5 100644
--- a/cpanfile
+++ b/cpanfile
@@ -53,7 +53,7 @@ requires 'HTML::Entities', '3.69';
 requires 'HTML::FormatText', '1.23';
 requires 'HTML::Scrubber', '0.08';
 requires 'HTTP::Cookies', '1.39';
-requires 'HTTP::OAI', '3.2';
+requires 'HTTP::OAI', '4.11';
 requires 'HTTP::Request::Common', '1.26';
 requires 'IPC::Cmd', '0.46';
 requires 'JSON', '2.07';
diff --git a/debian/list-deps b/debian/list-deps
index 687fb26a72..44463beb2a 100755
--- a/debian/list-deps
+++ b/debian/list-deps
@@ -28,7 +28,6 @@ use C4::Installer::PerlModules;
 # debian one.
 my %overrides = (
     'LWP::Protocol::https' => 'liblwp-protocol-https-perl | libwww-perl (<<6.02), libio-socket-ssl-perl',
-    'HTTP::OAI'            => 'libhttp-oai-perl (>= 3.2) | libhttp-oai-3.27-perl, libhttp-oai-perl (<< 4.0) | libhttp-oai-3.27-perl',
     'IO::Socket::IP'       => 'perl-modules (>= 5.20.0) | libio-socket-ip-perl',
     'Swagger2'             => 'libswagger2-perl (>= 0.59)',
     'Mojolicious'          => 'libmojolicious-perl (>= 6.0)',
-- 
2.20.1