parent
2ebb743ed5
commit
35c72a918a
10
bison.spec
10
bison.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: A GNU general-purpose parser generator
|
Summary: A GNU general-purpose parser generator
|
||||||
Name: bison
|
Name: bison
|
||||||
Version: 2.4.1
|
Version: 2.4.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
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
|
||||||
@ -87,12 +87,16 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/yacc*
|
|||||||
gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info*
|
gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info*
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
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." || :
|
/sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || :
|
||||||
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
|
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." || :
|
/sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir --entry="* bison: (bison). The GNU parser generator." || :
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# The distribution contains also source files. These are used by m4
|
# The distribution contains also source files. These are used by m4
|
||||||
# when the target parser file is generated.
|
# when the target parser file is generated.
|
||||||
@ -115,6 +119,10 @@ fi
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user