- Fix branding filelist and remove old help location from filelist

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=69
This commit is contained in:
Tomáš Chvátal 2014-01-05 20:08:04 +00:00 committed by Git OBS Bridge
parent 4acd10cba3
commit 459fd46229
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jan 5 20:07:46 UTC 2014 - tchvatal@suse.com
- Fix branding filelist and remove old help location from filelist
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jan 4 10:54:18 UTC 2014 - tchvatal@suse.com Sat Jan 4 10:54:18 UTC 2014 - tchvatal@suse.com

View File

@ -987,8 +987,10 @@ for i in %{buildroot}%{_libdir}/%{name}/share/config/soffice.cfg/modules/*/ui/re
done done
# help files are luckily in just one folder # help files are luckily in just one folder
mkdir -p %{buildroot}/%{_datadir}/%{name}/help/ mkdir -p %{buildroot}/%{_datadir}/%{name}/help/
grep -v '%{_libdir}/%{name}/help' file-lists/common_list.txt > tmplist
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}/
ln -s %{_datadir}/%{name}/help/ %{buildroot}/%{_libdir}/%{name}/help ln -s %{_datadir}/%{name}/help/ %{buildroot}/%{_libdir}/%{name}/help
echo "%{_libdir}/%{name}/help" >> file-lists/common_list.txt echo "%{_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
@ -1017,7 +1019,7 @@ for file in sofficerc \
shell/backing_space.png ; do shell/backing_space.png ; do
mv "%{buildroot}%{_libdir}/%{name}/program/$file" "%{buildroot}%{_datadir}/%{name}/program/$file" mv "%{buildroot}%{_libdir}/%{name}/program/$file" "%{buildroot}%{_datadir}/%{name}/program/$file"
ln -sf "%{_datadir}/%{name}/program/$file" "%{buildroot}/%{_libdir}/%{name}/program/$file" ln -sf "%{_datadir}/%{name}/program/$file" "%{buildroot}/%{_libdir}/%{name}/program/$file"
echo "%{buildroot}%{_datadir}/%{name}/program/$file" >> file-lists/branding-upstream.txt echo "%{_datadir}/%{name}/program/$file" >> file-lists/branding_upstream.txt
done done
################ ################