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 <behlendorf1@llnl.gov>
This commit is contained in:
Fajar A. Nugraha 2011-03-25 10:01:28 -07:00 committed by Brian Behlendorf
parent 1d82906dea
commit 1f5fd9d478

View File

@ -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