- Generate python cache files wrt bnc#929793
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=283
This commit is contained in:
parent
7c63d3d6fa
commit
f351e22c4f
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 3 12:08:54 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Generate python cache files wrt bnc#929793
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 21 11:59:03 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
|
@ -756,7 +756,7 @@ if [ -f %{_datadir}/libreoffice/%{1}_list.txt ] ; then \
|
||||
fi \
|
||||
\
|
||||
%postun %{1} \
|
||||
if [ "$1" = "0" -a -f %{_datadir}/libreoffice/%{1}_list.txt -a -f %{_bindir}/libreoffice-share-linker ]; then \
|
||||
if [ "$1" = "0" -a -f %{_datadir}/libreoffice/%{1}_list.txt -a -x %{_bindir}/libreoffice-share-linker ]; then \
|
||||
%{_bindir}/libreoffice-share-linker --unlink %{_datadir}/libreoffice/%{1}_list.txt || true \
|
||||
rm -f %{_datadir}/libreoffice/%{1}_list.txt 2> /dev/null || true \
|
||||
fi \
|
||||
@ -1313,6 +1313,10 @@ chrpath --delete %{buildroot}%{_libdir}/%{name}/program/librdf-lo.so.0
|
||||
chrpath --delete %{buildroot}%{_libdir}/%{name}/program/librasqal-lo.so.3
|
||||
%endif
|
||||
|
||||
# Generate python cache files
|
||||
%{python_type} -m compileall %{buildroot}/%{_libdir}/libreoffice/program/
|
||||
%{python_type} -m compileall %{buildroot}/%{_libdir}/libreoffice/share/extensions/
|
||||
|
||||
# We have ton of duped files so run over it
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user