If buildup = 0, rpm fails because the "modules" package doesn't exist for the following lines : The patch is simple but helps ;) +%if %{buildup} %post modules depmod -ae -F /boot/System.map-%{kernel_version} %{kernel_version} +%endif Erwan,