diff --git a/bison.spec b/bison.spec index bc3df92..d773f0e 100644 --- a/bison.spec +++ b/bison.spec @@ -18,8 +18,6 @@ URL: http://www.gnu.org/software/bison/ BuildRequires: m4 >= 1.4 #java-1.7.0-openjdk-devel Requires: m4 >= 1.4 -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info # bison contains a copy of gnulib. As a copylib, gnulib was granted # an exception that allows bundling it with other software. For @@ -104,18 +102,6 @@ rm -f $RPM_BUILD_ROOT/%{_docdir}/%{name}/examples/rpcalc/* gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/bison.info* -%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." || : -fi - -%preun -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." || : - fi -fi - # The distribution contains also source files. These are used by m4 # when the target parser file is generated. %files -f %{name}.lang