summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@fedoraproject.org>2009-10-06 14:49:36 +0000
committerEric Sandeen <sandeen@fedoraproject.org>2009-10-06 14:49:36 +0000
commitc0bea9dce9ffd12d682f893128c7f462662d4eaf (patch)
tree796397a203676ebff7202ac5f8080c2d874f144f
parent4177f9b89f3261109791243c722c4444442a565d (diff)
downloade2fsprogs-c0bea9dce9ffd12d682f893128c7f462662d4eaf.tar.gz
e2fsprogs-c0bea9dce9ffd12d682f893128c7f462662d4eaf.tar.xz
e2fsprogs-c0bea9dce9ffd12d682f893128c7f462662d4eaf.zip
* Thu Oct 06 2009 Eric Sandeen <sandeen@redhat.com> 1.41.9-4e2fsprogs-1_41_9-4_fc13
- Fix install with --excludedocs (#515997)
-rw-r--r--e2fsprogs.spec12
1 files 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 <sandeen@redhat.com> 1.41.9-4
+- Fix install with --excludedocs (#515997)
+
* Thu Sep 14 2009 Eric Sandeen <sandeen@redhat.com> 1.41.9-3
- Drop defrag bits for now, not ready yet.