From 57456621efc3256d31deb88691f832ed7279b4a0 Mon Sep 17 00:00:00 2001 From: "Jonathan G. Underwood" Date: Mon, 24 Mar 2008 13:36:44 +0000 Subject: [PATCH] - Fix docdir/doc_dir so geany correctly finds the system installed html docs (BZ 438534) --- geany.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/geany.spec b/geany.spec index a6c3a24..e2796cc 100644 --- a/geany.spec +++ b/geany.spec @@ -1,6 +1,6 @@ Name: geany Version: 0.13 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A fast and lightweight IDE using GTK2 Group: Development/Tools @@ -35,8 +35,14 @@ Some features: # Fix incorrect version entry in desktop file sed -i -e 's/Version=1.1/Version=1.0/' geany.desktop.in.in +# Fix docdir brutally for 0.13 - --docdir isn't proerly handled by configure +# XXX This should be removed for 0.14 +pushd src +sed -i -e 's|/doc/geany/html|/doc/geany-%{version}/html|' main.c +popd + %build -%configure +%configure --docdir=%{_docdir}/%{name}-%{version} make %{?_smp_mflags} %install @@ -68,6 +74,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/geany.1.gz %changelog +* Mon Mar 24 2008 Jonathan G. Underwood - 0.13-2 +- Fix docdir/doc_dir so geany correctly finds the system installed html docs (BZ + 438534) + * Sun Feb 24 2008 Jonathan G. Underwood - 0.13-1 - Update to version 0.13