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 | |
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
-rw-r--r-- | zfs.spec.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zfs.spec.in b/zfs.spec.in index 07b16e8e7..ef682819e 100644 --- a/zfs.spec.in +++ b/zfs.spec.in @@ -5,6 +5,7 @@ %define _prefix / %define _libexecdir /usr/libexec %define _datadir /usr/share +%define _mandir %{_datadir}/man %define _includedir /usr/include %define _udevdir /lib/udev |