use _pkgdocdir macro

This commit is contained in:
Iain Arnell 2013-08-10 09:18:56 -06:00
parent 0752dc8b89
commit db85173fc3
1 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: slashem
Version: 0.0.8
Release: 0.12.E0F1%{?dist}
Release: 0.13.E0F1%{?dist}
Summary: Super Lotsa Added Stuff Hack - Extended Magic
Group: Amusements/Games
@ -25,11 +25,13 @@ Requires: bzip2
# for X11 core fonts
Requires: nethack-bitmap-fonts-core
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
%global fa_var /var/games/%{name}
%global fa_save /var/games/%{name}/save
%global fa_share %{_datadir}/games/%{name}
%global fa_unshare %{_libdir}/games/%{name}
%global fa_doc %{_defaultdocdir}/%{name}-%{version}
%global fa_doc %{_pkgdocdir}
%description
From the land before 3DFX, before VGA graphics and DOOM, before the IBM PC, way
@ -156,6 +158,9 @@ rm -rf %{buildroot}
%changelog
* Sat Aug 10 2013 Iain Arnell <iarnell@gmail.com> 0.0.8-0.13.E0F1
- use _pkgdocdir macro
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-0.12.E0F1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild