Remove install-info deps and scriptlets.

The info dir node is handle by file triggers in F28+, so it is no longer
necessary to call install-info.

I also edited tl2rpm.c to remove the calls, but I don't think that is
actually used these days.
This commit is contained in:
Jason Tibbitts 2018-06-19 16:22:06 -05:00
parent 13a075c156
commit 815c8e483f
2 changed files with 0 additions and 66 deletions

View File

@ -83804,7 +83804,6 @@ Version: svn38345.0
Requires: texlive-base Requires: texlive-base
Requires: texlive-kpathsea-bin, tex-kpathsea Requires: texlive-kpathsea-bin, tex-kpathsea
Requires(post,postun): /sbin/install-info
Provides: tex(adobe.map) = %{tl_version} Provides: tex(adobe.map) = %{tl_version}
Provides: tex(apple.map) = %{tl_version} Provides: tex(apple.map) = %{tl_version}
Provides: tex(bitstrea.map) = %{tl_version} Provides: tex(bitstrea.map) = %{tl_version}
@ -83834,15 +83833,6 @@ The scheme for assigning names is described (in the
documentation part of the package), and map files giving the documentation part of the package), and map files giving the
relation between foundry name and 'TeX-name' are also provided. relation between foundry name and 'TeX-name' are also provided.
%preun fontname
if [ "$1" == "0" ]; then
/sbin/install-info --delete %{_infodir}/fontname.info %{_infodir}/dir 2>/dev/null || :
fi
%post fontname
/sbin/install-info %{_infodir}/fontname.info %{_infodir}/dir 2>/dev/null
:
%package fontname-doc %package fontname-doc
Summary: Documentation for fontname Summary: Documentation for fontname
Version: svn38345.0 Version: svn38345.0
@ -93649,8 +93639,6 @@ Version: svn44985
Requires: texlive-base Requires: texlive-base
Requires: texlive-kpathsea-bin, tex-kpathsea Requires: texlive-kpathsea-bin, tex-kpathsea
Requires(post,postun): /sbin/install-info
%description latex2e-help-texinfo %description latex2e-help-texinfo
The manual is provided as Texinfo source (which was originally The manual is provided as Texinfo source (which was originally
derived from the VMS help file in the DECUS TeX distribution of derived from the VMS help file in the DECUS TeX distribution of
@ -93659,15 +93647,6 @@ development, and details of getting involved are to be found on
the package home page. All the other formats in the the package home page. All the other formats in the
distribution are derived from the Texinfo source, as usual. distribution are derived from the Texinfo source, as usual.
%preun latex2e-help-texinfo
if [ "$1" == "0" ]; then
/sbin/install-info --delete %{_infodir}/latex2e.info %{_infodir}/dir 2>/dev/null || :
fi
%post latex2e-help-texinfo
/sbin/install-info %{_infodir}/latex2e.info %{_infodir}/dir 2>/dev/null
:
%package latex2e-help-texinfo-doc %package latex2e-help-texinfo-doc
Summary: Documentation for latex2e-help-texinfo Summary: Documentation for latex2e-help-texinfo
Version: svn44985 Version: svn44985
@ -104992,20 +104971,10 @@ Summary: latex2e-help-texinfo-spanish package
Version: svn45037 Version: svn45037
Requires: texlive-base Requires: texlive-base
Requires: texlive-kpathsea-bin, tex-kpathsea Requires: texlive-kpathsea-bin, tex-kpathsea
Requires(post,postun): /sbin/install-info
%description latex2e-help-texinfo-spanish %description latex2e-help-texinfo-spanish
latex2e-help-texinfo-spanish package latex2e-help-texinfo-spanish package
%preun latex2e-help-texinfo-spanish
if [ "$1" == "0" ]; then
/sbin/install-info --delete %{_infodir}/latex2e-es.info %{_infodir}/dir 2>/dev/null || :
fi
%post latex2e-help-texinfo-spanish
/sbin/install-info %{_infodir}/latex2e-es.info %{_infodir}/dir 2>/dev/null
:
%package latex2e-help-texinfo-spanish-doc %package latex2e-help-texinfo-spanish-doc
Summary: Documentation for latex2e-help-texinfo-spanish Summary: Documentation for latex2e-help-texinfo-spanish
Version: svn45037 Version: svn45037
@ -110510,7 +110479,6 @@ Version: svn31894.0
Requires: texlive-base Requires: texlive-base
Requires: texlive-kpathsea-bin, tex-kpathsea Requires: texlive-kpathsea-bin, tex-kpathsea
Requires(post,postun): /sbin/install-info
Requires: tex(graphics.sty) Requires: tex(graphics.sty)
Provides: tex(blockdiagram.tex) = %{tl_version} Provides: tex(blockdiagram.tex) = %{tl_version}
Provides: tex(texdraw.sty) = %{tl_version} Provides: tex(texdraw.sty) = %{tl_version}
@ -110530,15 +110498,6 @@ scaling and line parameters. Using TeX's macro definition
capability, new drawing commands can be constructed from capability, new drawing commands can be constructed from
drawing segments. drawing segments.
%preun texdraw
if [ "$1" == "0" ]; then
/sbin/install-info --delete %{_infodir}/texdraw.info %{_infodir}/dir 2>/dev/null || :
fi
%post texdraw
/sbin/install-info %{_infodir}/texdraw.info %{_infodir}/dir 2>/dev/null
:
%package texdraw-doc %package texdraw-doc
Summary: Documentation for texdraw Summary: Documentation for texdraw
Version: svn31894.0 Version: svn31894.0
@ -158536,15 +158495,6 @@ AutoReqProv: No
%description latex2e-help-texinfo-fr-doc %description latex2e-help-texinfo-fr-doc
Documentation for latex2e-help-texinfo-fr Documentation for latex2e-help-texinfo-fr
%preun latex2e-help-texinfo-fr-doc
if [ "$1" == "0" ]; then
/sbin/install-info --delete %{_infodir}/latex2e-fr.info %{_infodir}/dir 2>/dev/null || :
fi
%post latex2e-help-texinfo-fr-doc
/sbin/install-info %{_infodir}/latex2e-fr.info %{_infodir}/dir 2>/dev/null
:
%package latex-bib2-ex-doc %package latex-bib2-ex-doc
Provides: tex-latex-bib2-ex-doc = %{tl_version} Provides: tex-latex-bib2-ex-doc = %{tl_version}
License: LPPL License: LPPL

View File

@ -1403,7 +1403,6 @@ void solve(char *name) {
/* require coreutils if there is %post scriptlet present */ /* require coreutils if there is %post scriptlet present */
if ( pkg[i].exes || pkg[i].runfs ) fprintf(fpack, REQ_POST_POSTUN"coreutils\n"); if ( pkg[i].exes || pkg[i].runfs ) fprintf(fpack, REQ_POST_POSTUN"coreutils\n");
// if ( pkg[i].runfs ) fprintf(fpack, REQ_POST_POSTUN"texlive-kpathsea-bin, tex-kpathsea\n"); // if ( pkg[i].runfs ) fprintf(fpack, REQ_POST_POSTUN"texlive-kpathsea-bin, tex-kpathsea\n");
if ( pkg[i].has_info ) fprintf(fpack, REQ_POST_POSTUN"/sbin/install-info\n");
for (n=0; n<pkg[i].reqs; n++) { for (n=0; n<pkg[i].reqs; n++) {
if ( pkg[i].req[n] ) { if ( pkg[i].req[n] ) {
if ( pkg[i].req[n]->catalogue_license & LIC_NOTALLOWED ) { if ( pkg[i].req[n]->catalogue_license & LIC_NOTALLOWED ) {
@ -1585,21 +1584,6 @@ void solve(char *name) {
if ( pkg[i].catalogue_date ) fprintf(fpack, "\ndate: %s\n", pkg[i].catalogue_date); if ( pkg[i].catalogue_date ) fprintf(fpack, "\ndate: %s\n", pkg[i].catalogue_date);
fprintf(fpack, "\n"); fprintf(fpack, "\n");
/* preun/post/postun scriptlets */ /* preun/post/postun scriptlets */
if ( pkg[i].has_info ) {
int k;
#ifndef SRPMS
fprintf(fpack, "%%preun %s\n", name);
#else
fprintf(fpack, "%%preun\n");
#endif
fprintf(fpack, "if [ \"$1\" == \"0\" ]; then\n");
for (k=0; k<pkg[i].runfs; k++) {
if (!strncmp(pkg[i].runf[k], "texmf-dist/doc/info/", 20)) {
fprintf(fpack, " /sbin/install-info --delete %%{_infodir}/%s %%{_infodir}/dir 2>/dev/null || :\n", &pkg[i].runf[k][20]);
}
}
fprintf(fpack, "fi\n\n");
}
if ( pkg[i].exes ) { if ( pkg[i].exes ) {
int run_updmap, run_fmtutil; int run_updmap, run_fmtutil;
#ifndef SRPMS #ifndef SRPMS