packages: libreoffice/libreoffice.spec - fix without i18n

glen glen at pld-linux.org
Mon Nov 7 15:42:03 CET 2011


Author: glen                         Date: Mon Nov  7 14:42:03 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix without i18n

---- Files affected:
packages/libreoffice:
   libreoffice.spec (1.911 -> 1.912) 

---- Diffs:

================================================================
Index: packages/libreoffice/libreoffice.spec
diff -u packages/libreoffice/libreoffice.spec:1.911 packages/libreoffice/libreoffice.spec:1.912
--- packages/libreoffice/libreoffice.spec:1.911	Mon Nov  7 15:40:20 2011
+++ packages/libreoffice/libreoffice.spec	Mon Nov  7 15:41:57 2011
@@ -2721,6 +2721,7 @@
 	fi
 }
 
+%if %{with i18n}
 rm -f *.lang*
 langlist=$(ls build/lang_*_list.txt | sed -e 's=build/lang_\(.*\)_list.txt=\1=g')
 
@@ -2732,6 +2733,7 @@
 	s,%{_libdir}/%{name}/readmes,%{_datadir}/%{name}/readmes,;
 	s,%{basisdir}/help,%{databasisdir}/help,;
 ' *.lang
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -4054,6 +4056,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.912  2011/11/07 14:41:57  glen
+- fix without i18n
+
 Revision 1.911  2011/11/07 14:40:20  glen
 - restore install timestamps shortcuts
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libreoffice/libreoffice.spec?r1=1.911&r2=1.912&f=u



More information about the pld-cvs-commit mailing list