diff options
author | Fajar A. Nugraha <[email protected]> | 2011-03-25 10:01:28 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-03-25 10:08:49 -0700 |
commit | 1f5fd9d47815770fc8e0fea7028229fd0826871c (patch) | |
tree | 50ea1e11de67034eff2a0eb10815cc1654f21844 /zfs.spec.in | |
parent | 1d82906dea5eb698a854d992e445e794fb5a0880 (diff) |
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 <[email protected]>
Diffstat (limited to 'zfs.spec.in')
-rw-r--r-- | zfs.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |