From c0bea9dce9ffd12d682f893128c7f462662d4eaf Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Tue, 6 Oct 2009 14:49:36 +0000 Subject: [PATCH] * Thu Oct 06 2009 Eric Sandeen 1.41.9-4 - Fix install with --excludedocs (#515997) --- e2fsprogs.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/e2fsprogs.spec b/e2fsprogs.spec index cc0a3d0..a131a2e 100644 --- a/e2fsprogs.spec +++ b/e2fsprogs.spec @@ -4,7 +4,7 @@ Summary: Utilities for managing ext2, ext3, and ext4 filesystems Name: e2fsprogs Version: 1.41.9 -Release: 3%{?dist} +Release: 4%{?dist} # License tags based on COPYING file distinctions for various components License: GPLv2 @@ -172,11 +172,14 @@ rm -rf %{buildroot} %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig +# Test for file; if installed with --excludedocs it may not be there %post devel -/sbin/install-info %{_infodir}/libext2fs.info.gz %{_infodir}/dir || : +if [ -f %{_infodir}/libext2fs.info.gz ]; then + /sbin/install-info %{_infodir}/libext2fs.info.gz %{_infodir}/dir || : +fi %preun devel -if [ $1 = 0 ]; then +if [ $1 = 0 -a -f %{_infodir}/libext2fs.info.gz ]; then /sbin/install-info --delete %{_infodir}/libext2fs.info.gz %{_infodir}/dir || : fi exit 0 @@ -297,6 +300,9 @@ exit 0 %{_libdir}/pkgconfig/ss.pc %changelog +* Thu Oct 06 2009 Eric Sandeen 1.41.9-4 +- Fix install with --excludedocs (#515997) + * Thu Sep 14 2009 Eric Sandeen 1.41.9-3 - Drop defrag bits for now, not ready yet.