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