rpms/diffutils/devel diffutils.spec,1.30,1.31

Tim Waugh twaugh at fedoraproject.org
Tue Aug 11 13:36:24 UTC 2009


Author: twaugh

Update of /cvs/pkgs/rpms/diffutils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29038

Modified Files:
	diffutils.spec 
Log Message:
* Tue Aug 11 2009 Tim Waugh <twaugh at redhat.com> 2.8.1-25
- Only try to install the info file if it exists so that package
  installation does not fail with --excludedocs (bug #515919).



Index: diffutils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/diffutils/devel/diffutils.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -p -r1.30 -r1.31
--- diffutils.spec	24 Jul 2009 20:16:25 -0000	1.30
+++ diffutils.spec	11 Aug 2009 13:36:24 -0000	1.31
@@ -1,7 +1,7 @@
 Summary: A GNU collection of diff utilities
 Name: diffutils
 Version: 2.8.1
-Release: 24%{?dist}
+Release: 25%{?dist}
 Group: Applications/Text
 URL: http://www.gnu.org/software/diffutils/diffutils.html
 Source: ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.gz
@@ -59,7 +59,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 %find_lang %{name}
 
 %post
-/sbin/install-info %{_infodir}/diff.info.gz %{_infodir}/dir --entry="* diff: (diff).                 The GNU diff."
+if [ -f %{_infodir}/diff.info.gz ]; then
+  /sbin/install-info %{_infodir}/diff.info.gz %{_infodir}/dir --entry="* diff: (diff).                 The GNU diff."
+fi
 exit 0
 
 %preun
@@ -79,6 +81,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_infodir}/diff.info*gz
 
 %changelog
+* Tue Aug 11 2009 Tim Waugh <twaugh at redhat.com> 2.8.1-25
+- Only try to install the info file if it exists so that package
+  installation does not fail with --excludedocs (bug #515919).
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.8.1-24
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list