From b5f1257e00f005d635b40097ffaa66616d5ef0ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Moskov=C4=8D=C3=A1k?= Date: Fri, 16 Oct 2009 10:55:52 +0000 Subject: [PATCH] fixed installation with --excludedocs rhbz#515949 --- dejagnu.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dejagnu.spec b/dejagnu.spec index e3bf97e..eb99379 100644 --- a/dejagnu.spec +++ b/dejagnu.spec @@ -1,7 +1,7 @@ Summary: A front end for testing other programs Name: dejagnu Version: 1.4.4 -Release: 15%{?dist} +Release: 16%{?dist} Epoch: 1 License: GPLv2+ Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz @@ -56,12 +56,14 @@ make -C doc DESTDIR=$RPM_BUILD_ROOT install-man install -D -m 644 doc/dejagnu.info $RPM_BUILD_ROOT/%{_infodir}/%{name}.info %post -/sbin/install-info %{_infodir}/%{name}.info.gz --dir-file=%{_infodir}/dir ||: +/sbin/install-info %{_infodir}/%{name}.info.gz --dir-file=%{_infodir}/dir &> /dev/null +: %preun if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir ||: + /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir &> /dev/null fi +: %clean rm -rf $RPM_BUILD_ROOT @@ -76,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT %{_infodir}/* %changelog +* Fri Oct 16 2009 Jiri Moskovcak - 1.4.4-16 +- fixed installation with --excludedocs rhbz#515949 + * Fri Jul 24 2009 Fedora Release Engineering - 1:1.4.4-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild