diff --git a/distribution/packages/build.gradle b/distribution/packages/build.gradle index 6f61ffb8f95ff..73e51b9676ffe 100644 --- a/distribution/packages/build.gradle +++ b/distribution/packages/build.gradle @@ -150,7 +150,7 @@ Closure commonPackageConfig(String type, boolean jdk, String architecture) { preUninstall file("${scripts}/prerm") } else { String scripts = "${packagingFiles}" - rpmSpec file("${scripts}/wazuh-indexer.rpm.spec") + spec file("${scripts}/wazuh-indexer.rpm.spec") } // if (type == 'rpm') { // postTrans file("${scripts}/posttrans")