diff options
author | Ned Bass <[email protected]> | 2012-08-10 11:47:07 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-08-10 15:32:30 -0700 |
commit | 246b0f5a1658de4a8caf75c2e0712633e97b25dc (patch) | |
tree | 7baf4d48dc138e108a3aa3518d123b2a194e33f4 /module/zfs/zfs_ctldir.c | |
parent | 8f576c232106b2278f03be06554044eed762641b (diff) |
Fix man page installation path
RPM versions 4.8 and 4.9 differ in the definition of macro %_mandir:
$ rpm --version ; rpm --showrc | grep ^-14:._mandir
RPM version 4.9.0
-14: _mandir %{_prefix}/share/man
$ rpm --version ; rpm --showrc | grep ^-14:._mandir
RPM version 4.8.0
-14: _mandir /usr/share/man
zfs.spec.in defines %_prefix as /, so man pages end up getting
installed in /share/man on RPM 4.9 systems. To fix this, define
%_mandir relative to %_datadir in the spec file.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #353
Diffstat (limited to 'module/zfs/zfs_ctldir.c')
0 files changed, 0 insertions, 0 deletions