Blame SOURCES/redhat-rpm-config-9.1.0-Add-_pkgdocdir.patch

cff7e8
From e606f56f34f55900ef4d52fd273192425fe50ba5 Mon Sep 17 00:00:00 2001
cff7e8
From: Kevin Fenzi <kevin@scrye.com>
cff7e8
Date: Wed, 24 Jul 2013 16:20:05 -0600
cff7e8
Subject: [PATCH] Make docdirs unversioned on Fedora 20+ (#986871)
cff7e8
cff7e8
Add macros but keep it versioned for RHEL 7
cff7e8
---
cff7e8
 macros | 2 ++
cff7e8
 1 file changed, 2 insertions(+)
cff7e8
cff7e8
diff --git a/macros b/macros
cff7e8
index 6994751..3776e60 100644
cff7e8
--- a/macros
cff7e8
+++ b/macros
cff7e8
@@ -18,6 +18,8 @@
cff7e8
 %_mandir		%{_prefix}/share/man
cff7e8
 
cff7e8
 %_defaultdocdir		%{_prefix}/share/doc
e166c3
+%_pkgdocdir             %{_docdir}/%{name}-%{version}
cff7e8
+%_docdir_fmt            %%{NAME}-%%{VERSION}
cff7e8
 
cff7e8
 %_fmoddir		%{_libdir}/gfortran/modules
cff7e8
 
cff7e8
-- 
cff7e8
2.5.5
cff7e8