fix installation with --excludedocs option (#515911)
This commit is contained in:
parent
64fd84441b
commit
a6090e79ac
21
aspell.spec
21
aspell.spec
@ -1,7 +1,7 @@
|
||||
Summary: A spelling checker
|
||||
Name: aspell
|
||||
Version: 0.60.6
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Epoch: 12
|
||||
License: LGPLv2 and MIT
|
||||
Group: Applications/Text
|
||||
@ -78,20 +78,28 @@ chmod 644 ${RPM_BUILD_ROOT}%{_bindir}/aspell-import
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
/sbin/install-info %{_infodir}/aspell.info.gz %{_infodir}/dir --entry="* Aspell: (aspell). " || :
|
||||
if [ -f %{_infodir}/tar.info.gz ]; then
|
||||
/sbin/install-info %{_infodir}/aspell.info.gz %{_infodir}/dir --entry="* Aspell: (aspell). " || :
|
||||
fi
|
||||
|
||||
%post devel
|
||||
/sbin/install-info %{_infodir}/aspell-dev.info.gz %{_infodir}/dir --entry="* Aspell-dev: (aspell-dev). " || :
|
||||
if [ -f %{_infodir}/tar.info.gz ]; then
|
||||
/sbin/install-info %{_infodir}/aspell-dev.info.gz %{_infodir}/dir --entry="* Aspell-dev: (aspell-dev). " || :
|
||||
fi
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/aspell.info.gz %{_infodir}/dir
|
||||
if [ -f %{_infodir}/aspell.info.gz ]; then
|
||||
/sbin/install-info --delete %{_infodir}/aspell.info.gz %{_infodir}/dir || :
|
||||
fi
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%preun devel
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/aspell-dev.info.gz %{_infodir}/dir
|
||||
if [ -f %{_infodir}/aspell.info.gz ]; then
|
||||
/sbin/install-info --delete %{_infodir}/aspell-dev.info.gz %{_infodir}/dir || :
|
||||
fi
|
||||
fi
|
||||
exit 0
|
||||
|
||||
@ -130,6 +138,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man1/pspell-config.1*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 10 2009 Ivana Varekova <varekova@redhat.com> - 12:0.60.6-7
|
||||
- fix installation with --excludedocs option (#515911)
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12:0.60.6-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user