From 57614264c0cf9f6152bf989e2826b76e830f16e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 7 Dec 2010 15:22:02 +0000 Subject: [PATCH] fix make install --- libreoffice.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libreoffice.spec b/libreoffice.spec index 80d6c11..a19a055 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -831,13 +831,14 @@ fi if [ $ok == "false" ]; then exit 1 fi -mv ../unxlng*.pro/LibreOffice/installed/install/en-US/* $RPM_BUILD_ROOT/%{instdir} +mkdir -p $RPM_BUILD_ROOT/%{baseinstdir} +mv ../unxlng*.pro/LibreOffice/installed/install/en-US/* $RPM_BUILD_ROOT/%{baseinstdir} chmod -R +w $RPM_BUILD_ROOT/%{baseinstdir} %if %{langpacks} dmake ooolanguagepack rm -rf ../unxlng*.pro/LibreOffice_languagepack/installed/install/log for langpack in ../unxlng*.pro/LibreOffice_languagepack/installed/install/*; do - cp -rp $langpack/* $RPM_BUILD_ROOT/%{instdir} + cp -rp $langpack/* $RPM_BUILD_ROOT/%{baseinstdir} rm -rf $langpack done %endif @@ -1623,6 +1624,7 @@ rm -rf $RPM_BUILD_ROOT %{baseinstdir}/program/fundamentalrc %{baseinstdir}/program/setuprc %{baseinstdir}/program/versionrc +%doc %{baseinstdir}/CREDITS.odt %doc %{baseinstdir}/LICENSE %doc %{baseinstdir}/LICENSE.odt %doc %{baseinstdir}/README