fix installation with --excludedocs option (#515911)
This commit is contained in:
parent
64fd84441b
commit
a6090e79ac
25
aspell.spec
25
aspell.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: A spelling checker
|
Summary: A spelling checker
|
||||||
Name: aspell
|
Name: aspell
|
||||||
Version: 0.60.6
|
Version: 0.60.6
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Epoch: 12
|
Epoch: 12
|
||||||
License: LGPLv2 and MIT
|
License: LGPLv2 and MIT
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
@ -76,22 +76,30 @@ chmod 644 ${RPM_BUILD_ROOT}%{_bindir}/aspell-import
|
|||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/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
|
%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
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
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
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%preun devel
|
%preun devel
|
||||||
if [ $1 = 0 ]; then
|
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
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
@ -130,6 +138,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/pspell-config.1*
|
%{_mandir}/man1/pspell-config.1*
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user