rpms/aspell/devel aspell.spec,1.47,1.48
Ivana Varekova
varekova at fedoraproject.org
Mon Aug 10 11:50:32 UTC 2009
Author: varekova
Update of /cvs/pkgs/rpms/aspell/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19372
Modified Files:
aspell.spec
Log Message:
fix installation with --excludedocs option (#515911)
Index: aspell.spec
===================================================================
RCS file: /cvs/pkgs/rpms/aspell/devel/aspell.spec,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -p -r1.47 -r1.48
--- aspell.spec 24 Jul 2009 17:11:33 -0000 1.47
+++ aspell.spec 10 Aug 2009 11:50:32 -0000 1.48
@@ -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
@@ -76,22 +76,30 @@ chmod 644 ${RPM_BUILD_ROOT}%{_bindir}/as
%find_lang %{name}
-%post
+%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
+%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 at redhat.com> - 12:0.60.6-7
+- fix installation with --excludedocs option (#515911)
+
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 12:0.60.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the scm-commits
mailing list