From c9c59ed56f4848110039099f3b80bc811ed8a7e04cedaf40daa342c069be02ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 29 Jan 2014 12:04:33 +0000 Subject: [PATCH] - Workaround issue in rpm parser. Thanks to mls. OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=100 --- libreoffice.changes | 5 +++++ libreoffice.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libreoffice.changes b/libreoffice.changes index c3d311e..8ac8f61 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 29 12:04:16 UTC 2014 - tchvatal@suse.com + +- Workaround issue in rpm parser. Thanks to mls. + ------------------------------------------------------------------- Tue Jan 28 20:33:34 UTC 2014 - tchvatal@suse.com diff --git a/libreoffice.spec b/libreoffice.spec index 3e49266..2c0165d 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -692,7 +692,7 @@ This package provides extensions for LibreOffice Writer: Summary: %{langname} Localization Files for LibreOffice \ Group: Productivity/Office/Suite \ Requires: %{name} = %{version} \ -Requires(post): %{name} = %{version} \ +Requires(post,): %{name} = %{version} \ Provides: locale(libreoffice:%{lang}) \ BuildArch: noarch \ %{-m:Requires: libreoffice-thesaurus-%{-m*}}%{!-m:%{-M:Requires: libreoffice-thesaurus-%{lang}}} \ @@ -728,7 +728,7 @@ rpm -ql %{pkgname} > %{_datadir}/libreoffice/%{pkgname}_list.txt || true \ \ %postun %{pkgname} \ test "$1" = "0" && %{_datadir}/libreoffice/link-to-ooo-home --unlink %{_datadir}/libreoffice/%{pkgname}_list.txt \ -rm -f %{_datadir}/libreoffice/%{pkgname}_list.txt 2> /dev/null \ +test "$1" = "0" && rm -f %{_datadir}/libreoffice/%{pkgname}_list.txt 2> /dev/null \ %{nil} %langpack -l af -n Afrikaans