- don't abort (un)install scriptlets when _excludedocs is set (Ville

Skytta)
This commit is contained in:
Karsten Hopp 2007-01-18 14:45:36 +00:00
parent 55afbd7bd6
commit 673a19f964

View File

@ -1,7 +1,7 @@
Summary: The GNU line editor.
Name: ed
Version: 0.3
Release: 2
Release: 3
License: GPL
Group: Applications/Text
Source: ftp://ftp.gnu.org/gnu/ed/%{name}-%{version}.tar.bz2
@ -38,11 +38,11 @@ gzip -9qnf $RPM_BUILD_ROOT%{_infodir}/*
install doc/ed.1 $RPM_BUILD_ROOT%{_mandir}/man1
%post
/sbin/install-info %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor."
/sbin/install-info %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor." || :
%preun
if [ $1 = 0 ] ; then
/sbin/install-info --delete %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor."
/sbin/install-info --delete %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor." || :
fi
%clean
@ -56,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644,root,root) %{_mandir}/*/*
%changelog
* Thu Jan 18 2007 Karsten Hopp <karsten@redhat.com> 0.3-3
- don't abort (un)install scriptlets when _excludedocs is set (Ville Skyttä)
* Thu Jan 18 2007 Karsten Hopp <karsten@redhat.com> 0.3-2
- fix man page permissions (#222581)