From df0c9f8737774a2ebef78531332e802932b2aa45d832a89387ada8cf4cc6f961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 3 Dec 2014 11:10:21 +0000 Subject: [PATCH 1/3] - Remove dangling symlinks from previous versions bnc#884942 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=206 --- libreoffice.changes | 5 +++++ link-to-ooo-home | 3 +++ 2 files changed, 8 insertions(+) diff --git a/libreoffice.changes b/libreoffice.changes index b90c09a..e4b4e5a 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 3 11:08:57 UTC 2014 - tchvatal@suse.com + +- Remove dangling symlinks from previous versions bnc#884942 + ------------------------------------------------------------------- Sun Nov 30 10:08:38 UTC 2014 - dmitry_r@opensuse.org diff --git a/link-to-ooo-home b/link-to-ooo-home index a20ae44..a2b78a1 100644 --- a/link-to-ooo-home +++ b/link-to-ooo-home @@ -87,4 +87,7 @@ for libdir in ${libdirs[@]}; do continue fi change_linking ${libdir} $1 + # remove dangling links as they might happen when migratin from older + # libreoffice versions + find %{libdir}/libreoffice -type l -xtype l -delete done From b1fd493e63dc4548055b04db27e9419840df061cb2874a35f93d8a375d1f3451 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 4 Dec 2014 07:43:56 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=207 --- libreoffice.changes | 5 +++++ link-to-ooo-home | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libreoffice.changes b/libreoffice.changes index e4b4e5a..4cfe9fd 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 4 07:43:13 UTC 2014 - fstrba@suse.com + +- Fix typo %{libdir} -> %{_libdir} + ------------------------------------------------------------------- Wed Dec 3 11:08:57 UTC 2014 - tchvatal@suse.com diff --git a/link-to-ooo-home b/link-to-ooo-home index a2b78a1..7b53ee0 100644 --- a/link-to-ooo-home +++ b/link-to-ooo-home @@ -89,5 +89,5 @@ for libdir in ${libdirs[@]}; do change_linking ${libdir} $1 # remove dangling links as they might happen when migratin from older # libreoffice versions - find %{libdir}/libreoffice -type l -xtype l -delete + find %{_libdir}/libreoffice -type l -xtype l -delete done From d00d138750f731e263edba4367dee8afd1472244de2c257c30c5ee53394b68e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 4 Dec 2014 08:34:13 +0000 Subject: [PATCH 3/3] - And do it right as it was supposed to be bash variable :) OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=208 --- libreoffice.changes | 5 +++++ link-to-ooo-home | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libreoffice.changes b/libreoffice.changes index 4cfe9fd..3e3f9ad 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 4 08:33:55 UTC 2014 - tchvatal@suse.com + +- And do it right as it was supposed to be bash variable :) + ------------------------------------------------------------------- Thu Dec 4 07:43:13 UTC 2014 - fstrba@suse.com diff --git a/link-to-ooo-home b/link-to-ooo-home index 7b53ee0..ff763b7 100644 --- a/link-to-ooo-home +++ b/link-to-ooo-home @@ -89,5 +89,5 @@ for libdir in ${libdirs[@]}; do change_linking ${libdir} $1 # remove dangling links as they might happen when migratin from older # libreoffice versions - find %{_libdir}/libreoffice -type l -xtype l -delete + find ${libdir}/libreoffice -type l -xtype l -delete done