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

Ville Skyttä scop at fedoraproject.org
Fri Jul 26 20:01:51 UTC 2013


commit d41f560969df6a6b818105f58b3b0c4a9a585ec8
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Jul 26 23:01:20 2013 +0300

    Install docs to %{_pkgdocdir} where available.

 geany.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/geany.spec b/geany.spec
index ed84d6c..7ddef16 100644
--- a/geany.spec
+++ b/geany.spec
@@ -1,11 +1,11 @@
-%global geany_docdir %{_docdir}/%{name}-%{version}
+%global geany_docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
 
 # The  Python templates in /usr/share/geany/templates can not be byte-compiled.
 %global  _python_bytecompile_errors_terminate_build 0
 
 Name:      geany
 Version:   1.23.1
-Release:   1%{?dist}
+Release:   2%{?dist}
 Summary:   A fast and lightweight IDE using GTK2
 
 Group:     Development/Tools
@@ -137,6 +137,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_libdir}/pkgconfig/geany.pc
 
 %changelog
+* Fri Jul 26 2013 Ville Skyttä <ville.skytta at iki.fi> - 1.23.1-2
+- Install docs to %%{_pkgdocdir} where available.
+
 * Sun May 19 2013 Dominic Hopf <dmaphy at fedoraproject.org> - 1.23.1-1
 - New upstream release: Geany 1.23.1
 


More information about the scm-commits mailing list