Don't print errors in post and preun sections (#515935)

epel9
Roman Rakus 16 years ago
parent cacf081c0c
commit 165c8add86

@ -2,7 +2,7 @@
Summary: A GNU program for formatting C code Summary: A GNU program for formatting C code
Name: indent Name: indent
Version: 2.2.10 Version: 2.2.10
Release: 4%{?dist} Release: 5%{?dist}
License: GPLv3+ License: GPLv3+
Group: Applications/Text Group: Applications/Text
URL: http://indent.isidore-it.eu/beautify.html URL: http://indent.isidore-it.eu/beautify.html
@ -54,11 +54,11 @@ echo ====================TESTING END=====================
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post %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 %preun
if [ "$1" = 0 ]; then 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 fi
%files -f %{name}.lang %files -f %{name}.lang
@ -70,6 +70,9 @@ fi
%changelog %changelog
* Tue Aug 11 2009 Roman Rakus <rrakus@redhat.com> - 2.2.10-5
- Don't print errors in post and preun sections (#515935)
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.10-4 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

Loading…
Cancel
Save