fixed bz#1442706, set correct python path in sympytexpackage
This commit is contained in:
parent
c198efe94b
commit
668ee44522
|
@ -0,0 +1,20 @@
|
|||
diff -up tex/latex/sympytexpackage/sympytex.sty.than tex/latex/sympytexpackage/sympytex.sty
|
||||
--- tex/latex/sympytexpackage/sympytex.sty.than 2017-07-05 14:24:09.206951593 +0200
|
||||
+++ tex/latex/sympytexpackage/sympytex.sty 2017-07-05 14:25:09.994666464 +0200
|
||||
@@ -43,13 +43,13 @@
|
||||
\newwrite\ST@sf
|
||||
\immediate\openout\ST@sf=\jobname.sympy
|
||||
\newcommand{\ST@wsf}[1]{\immediate\write\ST@sf{#1}}
|
||||
-\iffalse
|
||||
+%\iffalse
|
||||
%% To get .sympy files to automatically change the Python path to find
|
||||
%% sympytex.py, delete the \iffalse and \fi lines surrounding this and
|
||||
%% change the directory below to where sympytex.py can be found.
|
||||
\ST@wsf{import sys}
|
||||
-\ST@wsf{sys.path.insert(0, 'directory with sympytex.py')}
|
||||
-\fi
|
||||
+\ST@wsf{sys.path.insert(0, '/usr/share/texlive/texmf-dist/scripts/sympytexpackage')}
|
||||
+%\fi
|
||||
\ST@wsf{import sympy}
|
||||
\ST@wsf{import sympytex}
|
||||
\ST@wsf{sympytex.openout('\jobname')}
|
12
texlive.spec
12
texlive.spec
|
@ -1,6 +1,6 @@
|
|||
%global source_date 20160520
|
||||
%global tl_version 2016
|
||||
%global tl_rel 35
|
||||
%global tl_rel 36
|
||||
%global tl_release %{tl_rel}.%{source_date}%{?dist}
|
||||
%global tl_noarch_release %{tl_rel}%{?dist}
|
||||
%global source_name texlive-%{source_date}-source
|
||||
|
@ -66,6 +66,8 @@ Patch103: texlive-2016-latexdiff-perl518.patch
|
|||
Patch104: texlive-mpost-CVE-2016-10243.patch
|
||||
# backport upstream to fix upmendex segfaults on i386 arch
|
||||
Patch105: texlive-2016-upmendex-crash
|
||||
# fix bz#1442706, set correct python path
|
||||
Patch106: texlive-bz#1442706-python-path.patch
|
||||
Source0: %{source_name}.tar.xz
|
||||
Source1: tl2rpm.c
|
||||
Source2: texlive.tlpdb
|
||||
|
@ -186077,6 +186079,11 @@ patch -p0 < %{_sourcedir}/texlive-2016-latexdiff-perl518.patch
|
|||
# %patch103 -p0
|
||||
popd
|
||||
|
||||
#patch sympytexpackage to set correct python path
|
||||
pushd %{buildroot}%{_texdir}/texmf-dist
|
||||
patch -p0 < %{_sourcedir}/texlive-bz#1442706-python-path.patch
|
||||
popd
|
||||
|
||||
# make opentype fontdir symlinks
|
||||
# NOTE: fontawesome, stix, oldstandard are a conflict, so we just add Requires for the
|
||||
# corresponding system font packages for them.
|
||||
|
@ -222034,6 +222041,9 @@ fi
|
|||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog
|
||||
* Wed Jul 05 2017 Than Ngo <than@redhat.com> - 6:2016-36.20160520
|
||||
- fixed bz#1442706, set correct python path in sympytexpackage
|
||||
|
||||
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6:2016-35.20160520.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue