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:
parent
4deb1a2d59
commit
2aaaefdf14
@ -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>
|
Wed May 29 06:37:37 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -23855,6 +23855,12 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
|||||||
%endif
|
%endif
|
||||||
tar --use-compress-program=xz -xf %{S:198} -C %{buildroot}%{_datadir}/texlive/texmf-dist
|
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
|
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}
|
%if %{with zypper_posttrans}
|
||||||
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
|
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
|
||||||
%{buildroot}/var/adm/update-scripts/texlive-apa-%{texlive_version}.%{texlive_noarch}.1.3.4svn42428-%{release}-zypper
|
%{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
|
%endif
|
||||||
tar --use-compress-program=xz -xf %{S:232} -C %{buildroot}%{_datadir}/texlive/texmf-dist
|
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
|
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
|
# Move font files
|
||||||
mkdir -p %{buildroot}%{_datadir}/fonts/texlive-aramaic-serto
|
mkdir -p %{buildroot}%{_datadir}/fonts/texlive-aramaic-serto
|
||||||
for font in %{buildroot}/%{_texmfdistdir}/fonts/type1/public/aramaic-serto/*.{pf[ab],[ot]tf}
|
for font in %{buildroot}/%{_texmfdistdir}/fonts/type1/public/aramaic-serto/*.{pf[ab],[ot]tf}
|
||||||
|
Loading…
Reference in New Issue
Block a user