Redo spec file generation to get the various scriplets back
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-specs-n?expand=0&rev=86
This commit is contained in:
parent
0e626a9e72
commit
36e858aa7b
@ -27867,10 +27867,31 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
|||||||
%endif
|
%endif
|
||||||
tar --use-compress-program=xz -xf %{S:27} -C %{buildroot}%{_datadir}/texlive
|
tar --use-compress-program=xz -xf %{S:27} -C %{buildroot}%{_datadir}/texlive
|
||||||
tar --use-compress-program=xz -xf %{S:28} -C %{buildroot}%{_datadir}/texlive
|
tar --use-compress-program=xz -xf %{S:28} -C %{buildroot}%{_datadir}/texlive
|
||||||
|
# Make possible scripts usable if any
|
||||||
|
for scr in %{_texmfdistdir}/doc/support/latexdiff/contrib/latexchanges.py
|
||||||
|
do
|
||||||
|
test -e %{buildroot}/$scr || continue
|
||||||
|
chmod 0755 %{buildroot}/$scr
|
||||||
|
done
|
||||||
|
# Avoid short paths
|
||||||
|
for scr in %{_texmfdistdir}/doc/support/latexdiff/contrib/latexchanges.py
|
||||||
|
do
|
||||||
|
test -e %{buildroot}/$scr || continue
|
||||||
|
ed %{buildroot}/${scr} <<-'EOF'
|
||||||
|
1
|
||||||
|
s@/bin/@/usr/bin/@
|
||||||
|
.
|
||||||
|
w
|
||||||
|
q
|
||||||
|
EOF
|
||||||
|
done
|
||||||
# Avoid /usr/bin/env <prog>
|
# Avoid /usr/bin/env <prog>
|
||||||
for scr in %{_texmfdistdir}/scripts/latexdiff/latexdiff-vc.pl \
|
for scr in %{_texmfdistdir}/scripts/latexdiff/latexdiff-vc.pl \
|
||||||
%{_texmfdistdir}/scripts/latexdiff/latexdiff.pl \
|
%{_texmfdistdir}/scripts/latexdiff/latexdiff.pl \
|
||||||
%{_texmfdistdir}/scripts/latexdiff/latexrevise.pl
|
%{_texmfdistdir}/scripts/latexdiff/latexrevise.pl \
|
||||||
|
%{_texmfdistdir}/doc/support/latexdiff/contrib/latexchanges.py \
|
||||||
|
%{_texmfdistdir}/doc/support/latexdiff/latexdiff \
|
||||||
|
%{_texmfdistdir}/doc/support/latexdiff/latexdiff-fast
|
||||||
do
|
do
|
||||||
test -e %{buildroot}/$scr || continue
|
test -e %{buildroot}/$scr || continue
|
||||||
ed %{buildroot}/${scr} <<-'EOF'
|
ed %{buildroot}/${scr} <<-'EOF'
|
||||||
@ -27918,7 +27939,8 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
|||||||
tar --use-compress-program=xz -xf %{S:35} -C %{buildroot}%{_datadir}/texlive
|
tar --use-compress-program=xz -xf %{S:35} -C %{buildroot}%{_datadir}/texlive
|
||||||
tar --use-compress-program=xz -xf %{S:36} -C %{buildroot}%{_datadir}/texlive
|
tar --use-compress-program=xz -xf %{S:36} -C %{buildroot}%{_datadir}/texlive
|
||||||
# Avoid /usr/bin/env <prog>
|
# Avoid /usr/bin/env <prog>
|
||||||
for scr in %{_texmfdistdir}/scripts/latexindent/latexindent.pl
|
for scr in %{_texmfdistdir}/scripts/latexindent/latexindent.pl \
|
||||||
|
%{_texmfdistdir}/doc/support/latexindent/latexindent-module-installer.pl
|
||||||
do
|
do
|
||||||
test -e %{buildroot}/$scr || continue
|
test -e %{buildroot}/$scr || continue
|
||||||
ed %{buildroot}/${scr} <<-'EOF'
|
ed %{buildroot}/${scr} <<-'EOF'
|
||||||
@ -27948,6 +27970,16 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
|||||||
tar --use-compress-program=xz -xf %{S:38} -C %{buildroot}%{_datadir}/texlive
|
tar --use-compress-program=xz -xf %{S:38} -C %{buildroot}%{_datadir}/texlive
|
||||||
rm -vf %{buildroot}%{_texmfdistdir}/doc/support/latexmk/extra-scripts/dvipdfm_call.bat
|
rm -vf %{buildroot}%{_texmfdistdir}/doc/support/latexmk/extra-scripts/dvipdfm_call.bat
|
||||||
rm -vf %{buildroot}%{_texmfdistdir}/doc/support/latexmk/extra-scripts/dvipdfmx_call.bat
|
rm -vf %{buildroot}%{_texmfdistdir}/doc/support/latexmk/extra-scripts/dvipdfmx_call.bat
|
||||||
|
# Make possible scripts usable if any
|
||||||
|
for scr in %{_texmfdistdir}/doc/support/latexmk/extra-scripts/dvipdfm_call \
|
||||||
|
%{_texmfdistdir}/doc/support/latexmk/extra-scripts/dvipdfmx_call \
|
||||||
|
%{_texmfdistdir}/doc/support/latexmk/extra-scripts/kickxdvi \
|
||||||
|
%{_texmfdistdir}/doc/support/latexmk/extra-scripts/l1 \
|
||||||
|
%{_texmfdistdir}/doc/support/latexmk/extra-scripts/l2
|
||||||
|
do
|
||||||
|
test -e %{buildroot}/$scr || continue
|
||||||
|
chmod 0755 %{buildroot}/$scr
|
||||||
|
done
|
||||||
# Avoid /usr/bin/env <prog>
|
# Avoid /usr/bin/env <prog>
|
||||||
for scr in %{_texmfdistdir}/scripts/latexmk/latexmk.pl
|
for scr in %{_texmfdistdir}/scripts/latexmk/latexmk.pl
|
||||||
do
|
do
|
||||||
@ -28163,6 +28195,14 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
|||||||
%endif
|
%endif
|
||||||
tar --use-compress-program=xz -xf %{S:83} -C %{buildroot}%{_datadir}/texlive/texmf-dist
|
tar --use-compress-program=xz -xf %{S:83} -C %{buildroot}%{_datadir}/texlive/texmf-dist
|
||||||
tar --use-compress-program=xz -xf %{S:84} -C %{buildroot}%{_datadir}/texlive/texmf-dist
|
tar --use-compress-program=xz -xf %{S:84} -C %{buildroot}%{_datadir}/texlive/texmf-dist
|
||||||
|
# Make possible scripts usable if any
|
||||||
|
for scr in %{_texmfdistdir}/doc/fonts/levy/makeall \
|
||||||
|
%{_texmfdistdir}/doc/fonts/levy/makefont \
|
||||||
|
%{_texmfdistdir}/doc/fonts/levy/testfont
|
||||||
|
do
|
||||||
|
test -e %{buildroot}/$scr || continue
|
||||||
|
chmod 0755 %{buildroot}/$scr
|
||||||
|
done
|
||||||
%if %{with zypper_posttrans}
|
%if %{with zypper_posttrans}
|
||||||
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
|
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
|
||||||
%{buildroot}/var/adm/update-scripts/texlive-lewis-%{texlive_version}.%{texlive_noarch}.0.0.1svn15878-%{release}-zypper
|
%{buildroot}/var/adm/update-scripts/texlive-lewis-%{texlive_version}.%{texlive_noarch}.0.0.1svn15878-%{release}-zypper
|
||||||
@ -28809,6 +28849,12 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
|||||||
%endif
|
%endif
|
||||||
tar --use-compress-program=xz -xf %{S:156} -C %{buildroot}%{_datadir}/texlive
|
tar --use-compress-program=xz -xf %{S:156} -C %{buildroot}%{_datadir}/texlive
|
||||||
tar --use-compress-program=xz -xf %{S:157} -C %{buildroot}%{_datadir}/texlive
|
tar --use-compress-program=xz -xf %{S:157} -C %{buildroot}%{_datadir}/texlive
|
||||||
|
# Make possible scripts usable if any
|
||||||
|
for scr in %{_texmfdistdir}/doc/latex/listings-ext/listings-ext.makemake
|
||||||
|
do
|
||||||
|
test -e %{buildroot}/$scr || continue
|
||||||
|
chmod 0755 %{buildroot}/$scr
|
||||||
|
done
|
||||||
%if %{with zypper_posttrans}
|
%if %{with zypper_posttrans}
|
||||||
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
|
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
|
||||||
%{buildroot}/var/adm/update-scripts/texlive-listlbls-%{texlive_version}.%{texlive_noarch}.1.03svn34893-%{release}-zypper
|
%{buildroot}/var/adm/update-scripts/texlive-listlbls-%{texlive_version}.%{texlive_noarch}.1.03svn34893-%{release}-zypper
|
||||||
|
Loading…
x
Reference in New Issue
Block a user