1
0

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
This commit is contained in:
Dr. Werner Fink 2019-05-31 16:04:10 +00:00 committed by Git OBS Bridge
parent 4deb1a2d59
commit 2aaaefdf14
2 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 31 15:58:27 UTC 2019 - Dr. Werner Fink <werner@suse.de>
- Redo spec file generation to get the various scriplets back
-------------------------------------------------------------------
Wed May 29 06:37:37 UTC 2019 - Dr. Werner Fink <werner@suse.de>

View File

@ -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 <prog>
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}