[openoffice.org/f14/master] really fix extension installation path

David Tardon dtardon at fedoraproject.org
Sat Nov 6 19:30:31 UTC 2010


commit 119704a141eb38c95feceb1a96c0ea3453d86a1f
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Nov 6 20:30:18 2010 +0100

    really fix extension installation path

 openoffice.org.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/openoffice.org.spec b/openoffice.org.spec
index b089af0..e19cbe2 100644
--- a/openoffice.org.spec
+++ b/openoffice.org.spec
@@ -1770,9 +1770,9 @@ echo build end time is `date`, diskspace: `df -h . | tail -n 1`
 
 %define install_bundled_extension(n:) \
 %define extname %{-n:%{-n*}}%{!-n:%{error:No extension name given}} \
-%define extdir $RPM_BUILD_ROOT/%{oooinstdir}/share/extensions \
+%define extdir $RPM_BUILD_ROOT/%{baseinstdir}/extensions \
 %define solverbindir $SOLARVER/$INPATH/bin \
-mkdir %{extdir}/%{extname} \
+install -d -m 755 %{extdir}/%{extname} \
 unzip -d %{extdir}/%{extname} %{solverbindir}/%{extname}.oxt
 
 


More information about the scm-commits mailing list