[ctpl] Install docs to %{_pkgdocdir} where available (#993714).

Ville Skyttä scop at fedoraproject.org
Thu Dec 12 18:54:13 UTC 2013


commit 275d7b4130087487ca239c2ebba84fe61b108a36
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu Dec 12 20:54:15 2013 +0200

    Install docs to %{_pkgdocdir} where available (#993714).

 ctpl.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ctpl.spec b/ctpl.spec
index 40b5c89..beaea9c 100644
--- a/ctpl.spec
+++ b/ctpl.spec
@@ -1,8 +1,8 @@
-%global ctpl_docdir %{_defaultdocdir}/ctpl-%{version}
+%global ctpl_docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
 
 Name:           ctpl
 Version:        0.3.2
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Template library and engine written in C
 
 Group:          Development/Tools
@@ -150,6 +150,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Dec 12 2013 Ville Skyttä <ville.skytta at iki.fi> - 0.3.2-10
+- Install docs to %%{_pkgdocdir} where available (#993714).
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.2-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list