From 5044b459fb772c190442e93a0df06e93bc31bb06 Mon Sep 17 00:00:00 2001 From: Joel Andres Granados Moreno Date: Wed, 12 Aug 2009 11:08:28 +0000 Subject: [PATCH] Make install with exclude docs work without an error message. --- parted.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/parted.spec b/parted.spec index ca75667..077a169 100644 --- a/parted.spec +++ b/parted.spec @@ -4,7 +4,7 @@ Summary: The GNU disk partition manipulation program Name: parted Version: 1.9.0 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv3+ Group: Applications/System URL: http://www.gnu.org/software/parted @@ -103,7 +103,9 @@ popd %post /sbin/ldconfig -/sbin/install-info %{_infodir}/parted.info.gz %{_infodir}/dir || : +if [ -f %{_infodir}/parted.info.gz ]; then + /sbin/install-info %{_infodir}/parted.info.gz %{_infodir}/dir || : +fi %preun if [ $1 = 0 ]; then @@ -129,6 +131,9 @@ fi %{_exec_prefix}/%{_lib}/pkgconfig/libparted.pc %changelog +* Wed Aug 12 2009 Joel Granados - 1.9.0-10 +- Make install with exclude docs work without an error message. + * Wed Jul 29 2009 Joel Granados - 1.9.0-9 - Add parenthesis where needed (#511907)