diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index 68bc00192..c4d153433 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -28,6 +28,11 @@ %endif %endif +# Set the default _initconfdir when undefined. +%if %{undefined _initconfdir} +%global _initconfdir /etc/sysconfig +%endif + %bcond_with debug %bcond_with blkid %bcond_with systemd