[geany-plugins] Install docs to %{_pkgdocdir} where available.

Ville Skyttä scop at fedoraproject.org
Fri Jul 26 20:03:54 UTC 2013


commit 62b65069ddf55a5bb333b52428e1e321813833e9
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Jul 26 23:03:41 2013 +0300

    Install docs to %{_pkgdocdir} where available.

 geany-plugins.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/geany-plugins.spec b/geany-plugins.spec
index 7de6ff5..21b070c 100644
--- a/geany-plugins.spec
+++ b/geany-plugins.spec
@@ -1,9 +1,9 @@
-%global geany_plug_docdir %{_defaultdocdir}/%{name}-%{version}
+%global geany_plug_docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
 %global req_geany_ver 1.23
 
 Name:           geany-plugins
 Version:        1.23
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Plugins for Geany
 
 Group:          Development/Tools
@@ -782,6 +782,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Jul 26 2013 Ville Skyttä <ville.skytta at iki.fi> - 1.23-3
+- Install docs to %%{_pkgdocdir} where available.
+
 * Wed May 15 2013 Tom Callaway <spot at fedoraproject.org> - 1.23-2
 - rebuild for lua 5.2
 - enable devhelp


More information about the scm-commits mailing list