diff -pruN 1.3.1-2/debian/changelog 1.3.1-2ubuntu1/debian/changelog
--- 1.3.1-2/debian/changelog	2021-11-12 21:51:57.000000000 +0000
+++ 1.3.1-2ubuntu1/debian/changelog	2022-02-28 21:36:54.000000000 +0000
@@ -1,3 +1,15 @@
+scrypt (1.3.1-2ubuntu1) jammy; urgency=medium
+
+  * Build without -O3 on ppc64el to fix ftbfs.
+
+ -- Michael Hudson-Doyle <michael.hudson@ubuntu.com>  Tue, 01 Mar 2022 10:36:54 +1300
+
+scrypt (1.3.1-2build1) jammy; urgency=medium
+
+  * No-change rebuild against openssl3
+
+ -- Simon Chopin <simon.chopin@canonical.com>  Mon, 29 Nov 2021 13:49:53 +0100
+
 scrypt (1.3.1-2) unstable; urgency=medium
 
   * update standards version to 4.6.0, no changes needed
diff -pruN 1.3.1-2/debian/control 1.3.1-2ubuntu1/debian/control
--- 1.3.1-2/debian/control	2021-11-12 21:49:58.000000000 +0000
+++ 1.3.1-2ubuntu1/debian/control	2022-02-28 21:36:54.000000000 +0000
@@ -1,7 +1,8 @@
 Source: scrypt
 Section: utils
 Priority: optional
-Maintainer: Barak A. Pearlmutter <bap@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Barak A. Pearlmutter <bap@debian.org>
 Build-Depends: debhelper-compat (= 13),
 		autoconf-archive,
 		libssl-dev
diff -pruN 1.3.1-2/debian/rules 1.3.1-2ubuntu1/debian/rules
--- 1.3.1-2/debian/rules	2021-11-12 21:49:58.000000000 +0000
+++ 1.3.1-2ubuntu1/debian/rules	2022-02-28 21:36:54.000000000 +0000
@@ -5,6 +5,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardeni
 
 export SCRYPT_VERSION = $(shell dpkg-parsechangelog --show-field version | sed -e 's/-[^-][^-]*$$//')
 
+ifeq ($(DEB_HOST_ARCH),ppc64el)
+  export DEB_CFLAGS_MAINT_APPEND += -O2
+  export DEB_CFLAGS_MAINT_STRIP += -O3
+endif
+
 %:
 	dh $@
 
