- One more fix for help handling bnc#915996

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=275
This commit is contained in:
Tomáš Chvátal 2015-05-13 11:32:26 +00:00 committed by Git OBS Bridge
parent ad11adc82b
commit 3fd46b28ae
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 13 11:31:52 UTC 2015 - tchvatal@suse.com
- One more fix for help handling bnc#915996
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 10 10:01:38 UTC 2015 - tchvatal@suse.com Sun May 10 10:01:38 UTC 2015 - tchvatal@suse.com

View File

@ -1229,9 +1229,9 @@ grep -v '%{_libdir}/%{name}/help' file-lists/common_list.txt > tmplist
mv tmplist file-lists/common_list.txt mv tmplist file-lists/common_list.txt
echo "%dir %{_datadir}/%{name}/help" >>file-lists/common_list.txt echo "%dir %{_datadir}/%{name}/help" >>file-lists/common_list.txt
mv %{buildroot}/%{_libdir}/%{name}/help/ %{buildroot}/%{_datadir}/%{name}/ mv %{buildroot}/%{_libdir}/%{name}/help/ %{buildroot}/%{_datadir}/%{name}/
echo "%ghost %{_libdir}/%{name}/help" >> file-lists/common_list.txt
for file in idxcaption.xsl idxcontent.xsl main_transform.xsl ; do for file in idxcaption.xsl idxcontent.xsl main_transform.xsl ; do
echo "%{_datadir}/%{name}/help/$file" >> file-lists/common_list.txt mv "%{buildroot}/%{_datadir}/%{name}/help/$file" "%{buildroot}/%{_libdir}/%{name}/help/$file"
echo "%{_libdir}/%{name}/help/$file" >> file-lists/common_list.txt
done done
# autotext is another self contained dir # autotext is another self contained dir
mkdir -p %{buildroot}/%{_datadir}/%{name}/share/autotext/ mkdir -p %{buildroot}/%{_datadir}/%{name}/share/autotext/