- Canonicalize post/preun use of install-info.
- Resolves: 223679
This commit is contained in:
parent
909372f866
commit
1629dbe526
13
bison.spec
13
bison.spec
@ -1,15 +1,16 @@
|
|||||||
Summary: A GNU general-purpose parser generator.
|
Summary: A GNU general-purpose parser generator.
|
||||||
Name: bison
|
Name: bison
|
||||||
Version: 2.3
|
Version: 2.3
|
||||||
Release: 2.1
|
Release: 3
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2
|
Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2
|
||||||
URL: http://www.gnu.org/software/bison/
|
URL: http://www.gnu.org/software/bison/
|
||||||
Prereq: /sbin/install-info
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
BuildRequires: m4 >= 1.4
|
BuildRequires: m4 >= 1.4
|
||||||
Requires: m4 >= 1.4
|
Requires: m4 >= 1.4
|
||||||
|
Requires(post): /sbin/install-info
|
||||||
|
Requires(preun): /sbin/install-info
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Bison is a general purpose parser generator that converts a grammar
|
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*
|
gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info*
|
||||||
|
|
||||||
%post
|
%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
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
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
|
fi
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
@ -99,6 +100,10 @@ fi
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jan 21 2007 Roland McGrath <roland@redhat.com> - 2.3-3
|
||||||
|
- Canonicalize post/preun use of install-info.
|
||||||
|
- Resolves: 223679
|
||||||
|
|
||||||
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.3-2.1
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.3-2.1
|
||||||
- rebuild
|
- rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user