forked from pool/texlive-specs-u
Redo spec file generation to get the various scriplets back
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-specs-u?expand=0&rev=81
This commit is contained in:
parent
bb31d2cc3e
commit
58a715fec8
@ -15588,6 +15588,18 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
|||||||
%endif
|
%endif
|
||||||
tar --use-compress-program=xz -xf %{S:91} -C %{buildroot}%{_datadir}/texlive/texmf-dist
|
tar --use-compress-program=xz -xf %{S:91} -C %{buildroot}%{_datadir}/texlive/texmf-dist
|
||||||
tar --use-compress-program=xz -xf %{S:92} -C %{buildroot}%{_datadir}/texlive/texmf-dist
|
tar --use-compress-program=xz -xf %{S:92} -C %{buildroot}%{_datadir}/texlive/texmf-dist
|
||||||
|
# Avoid /usr/bin/env <prog>
|
||||||
|
for scr in %{_texmfdistdir}/doc/latex/scanpages/replicate.py
|
||||||
|
do
|
||||||
|
test -e %{buildroot}/$scr || continue
|
||||||
|
ed %{buildroot}/${scr} <<-'EOF'
|
||||||
|
1
|
||||||
|
s@/env[[:blank:]]\+@/@
|
||||||
|
.
|
||||||
|
w
|
||||||
|
q
|
||||||
|
EOF
|
||||||
|
done
|
||||||
# Move font files
|
# Move font files
|
||||||
mkdir -p %{buildroot}%{_datadir}/fonts/texlive-scanpages
|
mkdir -p %{buildroot}%{_datadir}/fonts/texlive-scanpages
|
||||||
for font in %{buildroot}/%{_texmfdistdir}/fonts/type1/public/scanpages/*.{pf[ab],[ot]tf}
|
for font in %{buildroot}/%{_texmfdistdir}/fonts/type1/public/scanpages/*.{pf[ab],[ot]tf}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user