From: Fajar A. Nugraha Date: Fri, 25 Mar 2011 17:01:28 +0000 (-0700) Subject: Spec file compat, %{datadir} X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;h=1f5fd9d47815770fc8e0fea7028229fd0826871c;p=zfs.git Spec file compat, %{datadir} The dracut change caused an error during "make rpm". The cause is simple, RHEL5 does not recognize the %{datarootdir} macro in zfs.spec. It was changed to %{datadir} which fixes the build. Signed-off-by: Brian Behlendorf --- diff --git a/zfs.spec.in b/zfs.spec.in index fe56a2f..4cfd3b3 100644 --- a/zfs.spec.in +++ b/zfs.spec.in @@ -89,7 +89,7 @@ rm -rf $RPM_BUILD_ROOT %files dracut %defattr(-,root,root) -%{_datarootdir}/dracut/* +%{_datadir}/dracut/* %post [ -x /sbin/chkconfig ] && /sbin/chkconfig --add zfs