Don't print errors in post and preun sections (#515936)
This commit is contained in:
parent
adfa8d68cc
commit
7eb22880e5
@ -1,7 +1,7 @@
|
||||
Summary: A GNU utility for monitoring a program's use of system resources
|
||||
Name: time
|
||||
Version: 1.7
|
||||
Release: 36%{?dist}
|
||||
Release: 37%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
Url: http://www.gnu.org/software/time/
|
||||
@ -36,12 +36,12 @@ rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
/sbin/install-info %{_infodir}/time.info.gz %{_infodir}/dir \
|
||||
--entry="* time: (time). GNU time Utility" || :
|
||||
--entry="* time: (time). GNU time Utility" >/dev/null 2>&1 || :
|
||||
|
||||
%preun
|
||||
if [ "$1" = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/time.info.gz %{_infodir}/dir \
|
||||
--entry="* time: (time). GNU time Utility" || :
|
||||
--entry="* time: (time). GNU time Utility" >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%files
|
||||
@ -51,6 +51,9 @@ fi
|
||||
%{_infodir}/time.info*
|
||||
|
||||
%changelog
|
||||
* Tue Aug 11 2009 Roman Rakus <rrakus@redhat.com> - 1.7-37
|
||||
- Don't print errors in post and preun sections (#515936)
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-36
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user