diff --git a/meta/classes-global/package.bbclass b/meta/classes-global/package.bbclass
index b54f4c0063..4f5b28c2f3 100644
--- a/meta/classes-global/package.bbclass
+++ b/meta/classes-global/package.bbclass
@@ -57,8 +57,9 @@ LOCALE_SECTION ?= ''
 ALL_MULTILIB_PACKAGE_ARCHS = "${@oe.utils.all_multilib_tune_values(d, 'PACKAGE_ARCHS')}"
 
 # rpm is used for the per-file dependency identification
+# perl-generators provides rpm's perl() generators
 # elfutils is used to determine the list of debug source files (eu-srcfiles)
-PACKAGE_DEPENDS += "rpm-native elfutils-native"
+PACKAGE_DEPENDS += "rpm-native perl-generators-native elfutils-native"
 
 # If your postinstall can execute at rootfs creation time rather than on
 # target but depends on a native/cross tool in order to execute, you need to
