- Remove mime-info and application-registry dirs bsc#1062531

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=889
This commit is contained in:
Tomáš Chvátal 2020-06-18 07:58:45 +00:00 committed by Git OBS Bridge
parent 2858a6c127
commit 3f65d6cfdb
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 18 07:58:11 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Remove mime-info and application-registry dirs bsc#1062531
-------------------------------------------------------------------
Mon Jun 15 15:05:08 UTC 2020 - Andras Timar <andras.timar@collabora.com>

View File

@ -1222,8 +1222,14 @@ for dir in `find %{buildroot}/%{_datadir}/icons/gnome -type d` ; do
dir=`echo $dir | sed -e "s|%{buildroot}||"`
echo "%dir $dir" >>file-lists/common_list.txt
done
echo "%dir %{_datadir}/application-registry" >>file-lists/common_list.txt
echo "%dir %{_datadir}/mime-info" >>file-lists/common_list.txt
# remove obsolete content bsc#1062631
rm -r %{buildroot}%{_datadir}/application-registry
rm -r %{buildroot}%{_datadir}/mime-info
grep -v %{_datadir}/mime-info file-lists/common_list.txt tmplist
mv tmplist file-lists/common_list.txt
grep -v %{_datadir}/application-registry file-lists/common_list.txt tmplist
mv tmplist file-lists/common_list.txt
#################################
# Move split noarch data to share