From 58a715fec898d443307cc8851f1a95c2316b0451231aa08f9800671c4b3c5a91 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 31 May 2019 16:39:28 +0000 Subject: [PATCH] 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 --- texlive-specs-u.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/texlive-specs-u.spec b/texlive-specs-u.spec index 25655e9..335e3aa 100644 --- a/texlive-specs-u.spec +++ b/texlive-specs-u.spec @@ -15588,6 +15588,18 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || : %endif 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 + # Avoid /usr/bin/env + 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 mkdir -p %{buildroot}%{_datadir}/fonts/texlive-scanpages for font in %{buildroot}/%{_texmfdistdir}/fonts/type1/public/scanpages/*.{pf[ab],[ot]tf}