diff -pruN 0.13-4/debian/changelog 0.13-5/debian/changelog
--- 0.13-4/debian/changelog	2022-08-02 13:07:15.000000000 +0000
+++ 0.13-5/debian/changelog	2022-08-04 02:13:49.000000000 +0000
@@ -1,3 +1,11 @@
+lua-resty-lrucache (0.13-5) unstable; urgency=medium
+
+  * d/control: fix dependency libluajit2-5.1-dev -> libluajit2-5.1-2
+  * d/tests: marked tests as skippable and skipped test on ppc64el,
+    where the luajit2 library currently doesn't work.
+
+ -- Jan Mojžíš <jan.mojzis@gmail.com>  Thu, 04 Aug 2022 04:13:49 +0200
+
 lua-resty-lrucache (0.13-4) unstable; urgency=medium
 
   * d/control added dependency on libluajit2-5.1-dev
diff -pruN 0.13-4/debian/control 0.13-5/debian/control
--- 0.13-4/debian/control	2022-08-02 13:07:15.000000000 +0000
+++ 0.13-5/debian/control	2022-08-03 03:26:17.000000000 +0000
@@ -11,7 +11,7 @@ Vcs-Git: https://salsa.debian.org/lua-te
 Vcs-Browser: https://salsa.debian.org/lua-team/lua-resty-lrucache
 
 Package: lua-resty-lrucache
-Depends: libluajit2-5.1-dev,
+Depends: libluajit2-5.1-2,
          ${misc:Depends},
          ${shlibs:Depends},
 Provides: ${lua:Provides},
diff -pruN 0.13-4/debian/tests/control 0.13-5/debian/tests/control
--- 0.13-4/debian/tests/control	2022-08-02 13:07:15.000000000 +0000
+++ 0.13-5/debian/tests/control	2022-08-03 04:38:19.000000000 +0000
@@ -1,5 +1,5 @@
 Tests: test
-Restrictions: allow-stderr isolation-container needs-root
+Restrictions: allow-stderr isolation-container needs-root skippable
 Depends: libalgorithm-diff-perl,
          libclass-spiffy-perl,
          libextutils-config-perl,
@@ -24,7 +24,7 @@ Depends: libalgorithm-diff-perl,
          @builddeps@,
 
 Tests: nginxtest
-Restrictions: allow-stderr isolation-container needs-root
+Restrictions: allow-stderr isolation-container needs-root skippable
 Depends: curl,
          libnginx-mod-http-lua,
          libnginx-mod-http-ndk,
diff -pruN 0.13-4/debian/tests/nginxtest 0.13-5/debian/tests/nginxtest
--- 0.13-4/debian/tests/nginxtest	2022-07-31 12:43:16.000000000 +0000
+++ 0.13-5/debian/tests/nginxtest	2022-08-03 04:58:21.000000000 +0000
@@ -1,6 +1,14 @@
 #!/bin/bash
 set -e
 
+# Tests are skipped on ppc64el architecture,
+# where the luajit2 library is broken.
+case "`uname -m`" in
+  ppcle|ppc64le)
+  exit 77
+  ;;
+esac
+
 cat <<EOF > "/etc/nginx/sites-enabled/default"
 server {
   listen 80 default_server;
diff -pruN 0.13-4/debian/tests/test 0.13-5/debian/tests/test
--- 0.13-4/debian/tests/test	2022-07-31 12:43:16.000000000 +0000
+++ 0.13-5/debian/tests/test	2022-08-03 04:58:10.000000000 +0000
@@ -1,6 +1,18 @@
 #!/bin/sh
 set -e
 
+# debug print
+echo "uname -m: `uname -m`"
+echo
+
+# Tests are skipped on ppc64el architecture,
+# where the luajit2 library is broken.
+case "`uname -m`" in
+  ppcle|ppc64le)
+  exit 77
+  ;;
+esac
+
 # Disable init-by-lua tests.
 # These tests works only against Openresty compiled nginx.
 # Fails against Debian nginx.
