diff --git a/imgutil/confluent_imgutil.spec.tmpl b/imgutil/confluent_imgutil.spec.tmpl index a5c93f42..76862999 100644 --- a/imgutil/confluent_imgutil.spec.tmpl +++ b/imgutil/confluent_imgutil.spec.tmpl @@ -7,6 +7,16 @@ URL: https://hpc.lenovo.com/ Source: confluent_imgutil.tar.xz BuildArch: noarch BuildRoot: /tmp/ +%if "%{dist}" == ".el8" +Requires squashfs-tools +%else +%if "%{dist}" == ".el9" +Requires squashfs-tools +%else +Requires squashfs +%endif +%endif + %description Utility for generating, modifying, and packing confluent deployment