parent
2ebb743ed5
commit
35c72a918a
14
bison.spec
14
bison.spec
@ -1,7 +1,7 @@
|
||||
Summary: A GNU general-purpose parser generator
|
||||
Name: bison
|
||||
Version: 2.4.1
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Development/Tools
|
||||
Source: ftp://ftp.gnu.org/pub/gnu/bison/bison-%{version}.tar.bz2
|
||||
@ -87,11 +87,15 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/yacc*
|
||||
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." || :
|
||||
if [ -f %{_infodir}/bison.info.gz ]; then # for --excludedocs
|
||||
/sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || :
|
||||
fi
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || :
|
||||
if [ -f %{_infodir}/bison.info.gz ]; then # for --excludedocs
|
||||
/sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || :
|
||||
fi
|
||||
fi
|
||||
|
||||
# The distribution contains also source files. These are used by m4
|
||||
@ -115,6 +119,10 @@ fi
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Mon Aug 24 2009 Petr Machata <pmachata@redhat.com> - 2.4.1-4
|
||||
- Fix installation with --excludedocs
|
||||
- Resolves: #515939
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user