diff --git a/SPECS/rpm.spec b/SPECS/rpm.spec
index cb51112..dd8c2ad 100644
--- a/SPECS/rpm.spec
+++ b/SPECS/rpm.spec
@@ -453,7 +453,7 @@ done;
     --with-selinux \
     --with-cap \
     --with-acl \
-    %{?with_ndb: --with-ndb} \
+    %{?with_ndb: --enable-ndb} \
     %{?with_libimaevm: --with-imaevm} \
     %{?with_zstd: --enable-zstd} \
     %{?with_lmdb: --enable-lmdb} \