diff --git a/texlive-specs-c.spec b/texlive-specs-c.spec index 9968cb5..9fad1c7 100644 --- a/texlive-specs-c.spec +++ b/texlive-specs-c.spec @@ -16946,6 +16946,24 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || : %endif tar --use-compress-program=xz -xf %{S:111} -C %{buildroot}%{_datadir}/texlive/texmf-dist tar --use-compress-program=xz -xf %{S:112} -C %{buildroot}%{_datadir}/texlive/texmf-dist + # Make possible scripts usable if any + for scr in %{_texmfdistdir}/doc/bibtex/bibhtml/bibhtml + do + test -e %{buildroot}/$scr || continue + chmod 0755 %{buildroot}/$scr + done + # Avoid /usr/bin/env + for scr in %{_texmfdistdir}/doc/bibtex/bibhtml/bibhtml + do + test -e %{buildroot}/$scr || continue + ed %{buildroot}/${scr} <<-'EOF' + 1 + s@/env[[:blank:]]\+@/@ + . + w + q + EOF + done %if %{with zypper_posttrans} ln -sf %{_texmfdistdir}/texconfig/zypper.py \ %{buildroot}/var/adm/update-scripts/texlive-biblatex-%{texlive_version}.%{texlive_noarch}.3.12svn49069-%{release}-zypper @@ -17000,6 +17018,12 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || : %endif tar --use-compress-program=xz -xf %{S:129} -C %{buildroot}%{_datadir}/texlive/texmf-dist tar --use-compress-program=xz -xf %{S:130} -C %{buildroot}%{_datadir}/texlive/texmf-dist + # Make possible scripts usable if any + for scr in %{_texmfdistdir}/doc/latex/biblatex-bookinother/documentation/generate-crossref-graphs.py + do + test -e %{buildroot}/$scr || continue + chmod 0755 %{buildroot}/$scr + done %if %{with zypper_posttrans} ln -sf %{_texmfdistdir}/texconfig/zypper.py \ %{buildroot}/var/adm/update-scripts/texlive-biblatex-bwl-%{texlive_version}.%{texlive_noarch}.0.0.02svn26556-%{release}-zypper @@ -17065,6 +17089,24 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || : %endif tar --use-compress-program=xz -xf %{S:150} -C %{buildroot}%{_datadir}/texlive/texmf-dist tar --use-compress-program=xz -xf %{S:151} -C %{buildroot}%{_datadir}/texlive/texmf-dist + # Make possible scripts usable if any + for scr in %{_texmfdistdir}/doc/latex/biblatex-gb7714-2015/biblatex_check.py + do + test -e %{buildroot}/$scr || continue + chmod 0755 %{buildroot}/$scr + done + # Avoid /usr/bin/env + for scr in %{_texmfdistdir}/doc/latex/biblatex-gb7714-2015/biblatex_check.py + do + test -e %{buildroot}/$scr || continue + ed %{buildroot}/${scr} <<-'EOF' + 1 + s@/env[[:blank:]]\+@/@ + . + w + q + EOF + done %if %{with zypper_posttrans} ln -sf %{_texmfdistdir}/texconfig/zypper.py \ %{buildroot}/var/adm/update-scripts/texlive-biblatex-gost-%{texlive_version}.%{texlive_noarch}.1.17svn46709-%{release}-zypper @@ -17131,6 +17173,12 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || : %endif tar --use-compress-program=xz -xf %{S:172} -C %{buildroot}%{_datadir}/texlive/texmf-dist tar --use-compress-program=xz -xf %{S:173} -C %{buildroot}%{_datadir}/texlive/texmf-dist + # Make possible scripts usable if any + for scr in %{_texmfdistdir}/doc/latex/biblatex-morenames/documentation/generate-crossref-graphs.py + do + test -e %{buildroot}/$scr || continue + chmod 0755 %{buildroot}/$scr + done %if %{with zypper_posttrans} ln -sf %{_texmfdistdir}/texconfig/zypper.py \ %{buildroot}/var/adm/update-scripts/texlive-biblatex-multiple-dm-%{texlive_version}.%{texlive_noarch}.1.0.1svn37081-%{release}-zypper