From 165c8add86b3f9a81d93fcb5e0165d5ad97342bc Mon Sep 17 00:00:00 2001 From: Roman Rakus Date: Tue, 11 Aug 2009 13:40:06 +0000 Subject: [PATCH] Don't print errors in post and preun sections (#515935) --- indent.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/indent.spec b/indent.spec index a674106..58671a9 100644 --- a/indent.spec +++ b/indent.spec @@ -2,7 +2,7 @@ Summary: A GNU program for formatting C code Name: indent Version: 2.2.10 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv3+ Group: Applications/Text URL: http://indent.isidore-it.eu/beautify.html @@ -54,11 +54,11 @@ echo ====================TESTING END===================== rm -rf $RPM_BUILD_ROOT %post -/sbin/install-info %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code." || : +/sbin/install-info %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code." >/dev/null 2>&1 || : %preun if [ "$1" = 0 ]; then - /sbin/install-info --delete %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code." || : + /sbin/install-info --delete %{_infodir}/indent.info.gz %{_infodir}/dir --entry="* indent: (indent). Program to format source code." >/dev/null 2>&1 || : fi %files -f %{name}.lang @@ -70,6 +70,9 @@ fi %changelog +* Tue Aug 11 2009 Roman Rakus - 2.2.10-5 +- Don't print errors in post and preun sections (#515935) + * Fri Jul 24 2009 Fedora Release Engineering - 2.2.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild