From 1f5fd9d47815770fc8e0fea7028229fd0826871c Mon Sep 17 00:00:00 2001 From: "Fajar A. Nugraha" Date: Fri, 25 Mar 2011 10:01:28 -0700 Subject: 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 --- zfs.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zfs.spec.in') diff --git a/zfs.spec.in b/zfs.spec.in index fe56a2ffb..4cfd3b372 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 -- cgit v1.2.3