[cumin] Install docs to %{_pkgdocdir} where available.

Ville Skyttä scop at fedoraproject.org
Fri Jul 26 19:51:05 UTC 2013


commit 5131ad73c1026703f5acd114c98ecc10d211ff22
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Jul 26 22:50:48 2013 +0300

    Install docs to %{_pkgdocdir} where available.

 cumin.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/cumin.spec b/cumin.spec
index 49c90dc..ece0d47 100644
--- a/cumin.spec
+++ b/cumin.spec
@@ -1,7 +1,7 @@
 Summary:        MRG management web console
 Name:           cumin
 Version:        0.1.5776
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPLv2+
 Group:          System Environment/Libraries
 URL:            http://svn.fedorahosted.org/svn/cumin
@@ -29,7 +29,7 @@ management interface for the Messaging, Realtime and Grid components
 of MRG.
 
 %global cumin_home %{_datadir}/cumin
-%global cumin_doc %{_defaultdocdir}/cumin-%{version}
+%global cumin_doc %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/cumin-%{version}}
 %global cumin_etc %{_sysconfdir}/cumin
 %global cumin_log %{_localstatedir}/log/cumin
 %global cumin_d /cumin.conf.d
@@ -136,6 +136,9 @@ rm -rf %{buildroot}
 %doc %{cumin_doc}/*
 
 %changelog
+* Fri Jul 26 2013 Ville Skyttä <ville.skytta at iki.fi> - 0.1.5776-2
+- Install docs to %%{_pkgdocdir} where available.
+
 * Mon Jul 1 2013 Trevor McKay <tmckay at redhat.com> - 0.1.5776-1
 - Various hadoop interface improvements
 - Change defaults for Aviary ports


More information about the scm-commits mailing list