From 2aaaefdf149b10fa11818051eedbcf4d2b73db0ff145831ff8f0ca1af6cbc4e5 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 31 May 2019 16:04:10 +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-a?expand=0&rev=103 --- texlive-specs-a.changes | 5 +++++ texlive-specs-a.spec | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/texlive-specs-a.changes b/texlive-specs-a.changes index 5d52c8f..4fedcf3 100644 --- a/texlive-specs-a.changes +++ b/texlive-specs-a.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 31 15:58:27 UTC 2019 - Dr. Werner Fink + +- Redo spec file generation to get the various scriplets back + ------------------------------------------------------------------- Wed May 29 06:37:37 UTC 2019 - Dr. Werner Fink diff --git a/texlive-specs-a.spec b/texlive-specs-a.spec index 54121d4..46b2ff8 100644 --- a/texlive-specs-a.spec +++ b/texlive-specs-a.spec @@ -23855,6 +23855,12 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || : %endif tar --use-compress-program=xz -xf %{S:198} -C %{buildroot}%{_datadir}/texlive/texmf-dist tar --use-compress-program=xz -xf %{S:199} -C %{buildroot}%{_datadir}/texlive/texmf-dist + # Make possible scripts usable if any + for scr in %{_texmfdistdir}/doc/latex/aomart/fullref.pl + 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-apa-%{texlive_version}.%{texlive_noarch}.1.3.4svn42428-%{release}-zypper @@ -24042,6 +24048,18 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || : %endif tar --use-compress-program=xz -xf %{S:232} -C %{buildroot}%{_datadir}/texlive/texmf-dist tar --use-compress-program=xz -xf %{S:233} -C %{buildroot}%{_datadir}/texlive/texmf-dist + # Avoid /usr/bin/env + for scr in %{_texmfdistdir}/doc/latex/aramaic-serto/serto.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-aramaic-serto for font in %{buildroot}/%{_texmfdistdir}/fonts/type1/public/aramaic-serto/*.{pf[ab],[ot]tf}