[gnulib/epel7: 2/2] Backport %_pkgdocdir for epel7

Zbigniew Jędrzejewski-Szmek zbyszek at fedoraproject.org
Sat Sep 13 13:51:07 UTC 2014


commit dc5c64c399400d4a58339d37c571912ff91e0662
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Sat Sep 13 08:49:11 2014 -0400

    Backport %_pkgdocdir for epel7

 gnulib.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gnulib.spec b/gnulib.spec
index 48c381b..aba9a4d 100644
--- a/gnulib.spec
+++ b/gnulib.spec
@@ -3,6 +3,9 @@
 %global githead %(printf %%.7s %commit)
 %global gitdate 20140910
 
+# epel7 compatibility mode
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
 # Module Sample: (Alpha Version)
 # % global moduleX %name-of-module
 #


More information about the scm-commits mailing list