From 3f65d6cfdbeeee9bc50ff4f097d6c5e3873c7623347a272aca6a46a621ac7341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 18 Jun 2020 07:58:45 +0000 Subject: [PATCH] - Remove mime-info and application-registry dirs bsc#1062531 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=889 --- libreoffice.changes | 5 +++++ libreoffice.spec | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/libreoffice.changes b/libreoffice.changes index 516f9a3..dab5cbb 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 18 07:58:11 UTC 2020 - Tomáš Chvátal + +- Remove mime-info and application-registry dirs bsc#1062531 + ------------------------------------------------------------------- Mon Jun 15 15:05:08 UTC 2020 - Andras Timar diff --git a/libreoffice.spec b/libreoffice.spec index e0987a1..fc00c36 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -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