From d41f560969df6a6b818105f58b3b0c4a9a585ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 26 Jul 2013 23:01:20 +0300 Subject: [PATCH] Install docs to %{_pkgdocdir} where available. --- geany.spec | 7 +++++-- 1 file 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ä - 1.23.1-2 +- Install docs to %%{_pkgdocdir} where available. + * Sun May 19 2013 Dominic Hopf - 1.23.1-1 - New upstream release: Geany 1.23.1