Fix installation with --excludedocs option

Resolves: #515926
This commit is contained in:
Jan Šafránek 2009-08-06 13:53:27 +00:00
parent 1989383732
commit bc59e95faf

View File

@ -2,7 +2,7 @@
# Copyright (c) 2003 FreeIPMI Core Team
#
Release: 1%{?dist}
Release: 2%{?dist}
Name: freeipmi
Version: 0.7.11
@ -96,12 +96,12 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
rm -rf $RPM_BUILD_ROOT
%post
/sbin/install-info %{_infodir}/freeipmi-faq.info.gz %{_infodir}/dir || :
/sbin/install-info %{_infodir}/freeipmi-faq.info.gz %{_infodir}/dir &>/dev/null || :
/sbin/ldconfig
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/freeipmi-faq.info.gz %{_infodir}/dir || :
/sbin/install-info --delete %{_infodir}/freeipmi-faq.info.gz %{_infodir}/dir &>/dev/null || :
fi
%postun -p /sbin/ldconfig
@ -291,6 +291,9 @@ fi
%{_mandir}/man8/ipmidetectd.8*
%changelog
* Thu Aug 6 2009 Jan Safranek <jsafrane@redhat.com> - 0.7.11-2
- Fix installation with --excludedocs option (#515926)
* Wed Jul 29 2009 Jan Safranek <jsafrane@redhat.com> - 0.7.11-1
- Update to freeipmi-0.7.11