From db85173fc387380610def217de4de61103b31d21 Mon Sep 17 00:00:00 2001 From: Iain Arnell Date: Sat, 10 Aug 2013 09:18:56 -0600 Subject: [PATCH] use _pkgdocdir macro --- slashem.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/slashem.spec b/slashem.spec index 45bcd64..7cb0f35 100644 --- a/slashem.spec +++ b/slashem.spec @@ -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 0.0.8-0.13.E0F1 +- use _pkgdocdir macro + * Sun Aug 04 2013 Fedora Release Engineering - 0.0.8-0.12.E0F1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild