From e5dec5b28385fcf8233a876749e601ba333e74aa Mon Sep 17 00:00:00 2001 From: roland Date: Jan 21 2007 23:39:54 +0000 Subject: - Canonicalize post/preun use of install-info. - Resolves: 223679 --- diff --git a/bison.spec b/bison.spec index f8ce240..b9f891d 100644 --- a/bison.spec +++ b/bison.spec @@ -1,15 +1,16 @@ Summary: A GNU general-purpose parser generator. Name: bison Version: 2.3 -Release: 2.1 +Release: 3 License: GPL Group: Development/Tools Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2 URL: http://www.gnu.org/software/bison/ -Prereq: /sbin/install-info BuildRoot: %{_tmppath}/%{name}-root BuildRequires: m4 >= 1.4 Requires: m4 >= 1.4 +Requires(post): /sbin/install-info +Requires(preun): /sbin/install-info %description Bison is a general purpose parser generator that converts a grammar @@ -73,11 +74,11 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* %post -/sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." +/sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : %preun if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." + /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || : fi %files -f %{name}.lang @@ -99,6 +100,10 @@ fi rm -rf $RPM_BUILD_ROOT %changelog +* Sun Jan 21 2007 Roland McGrath - 2.3-3 +- Canonicalize post/preun use of install-info. +- Resolves: 223679 + * Wed Jul 12 2006 Jesse Keating - 2.3-2.1 - rebuild