summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebian/autobake-deb.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/autobake-deb.sh b/debian/autobake-deb.sh
index 43a20945674..499c282608f 100755
--- a/debian/autobake-deb.sh
+++ b/debian/autobake-deb.sh
@@ -39,6 +39,9 @@ then
# packages by snipped in rules file
MARIADB_OPTIONAL_DEBS="${MARIADB_OPTIONAL_DEBS} cracklib-password-check-10.2"
sed -i -e "/\\\${MAYBE_LIBCRACK}/d" debian/control
+ # Remove package entry from control file completely so that
+ # resulting Debian source package will actually be buildable
+ sed -i -e "/Package: mariadb-cracklib-password-check/,+6d" debian/control
else
MAYBE_LIBCRACK='libcrack2-dev (>= 2.9.0),'
sed -i -e "s/\\\${MAYBE_LIBCRACK}/${MAYBE_LIBCRACK}/g" debian/control