[gedit-latex] Correct wrong _CONFIG_FILENAME

Sergio Pascual sergiopr at fedoraproject.org
Wed Jan 15 12:23:25 UTC 2014


commit f1380e050e2827c2bfdda222e9e885753c3d11f5
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date:   Wed Jan 15 13:23:14 2014 +0100

    Correct wrong _CONFIG_FILENAME

 gedit-latex.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gedit-latex.spec b/gedit-latex.spec
index dc23ce1..9094b21 100644
--- a/gedit-latex.spec
+++ b/gedit-latex.spec
@@ -1,6 +1,6 @@
 Name:           gedit-latex
 Version:        3.8.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        gedit plugin for composing and compiling LaTeX documents
 
 Group:          Applications/Editors
@@ -43,7 +43,7 @@ This plugin assists you in composing and compiling LaTeX documents using gedit.
 sed -i -e '/^#!\/.*bin\/perl/d' latex/util/eps2png.pl
 # Fixing the multilib path
 # https://sourceforge.net/tracker/index.php?func=detail&aid=2130308&group_id=204144&atid=988428
-sed -i -e 's|_CONFIG_FILENAME = "/etc/texmf/texmf.cnf"|_CONFIG_FILENAME = "/usr/share/texmf/web2c/texmf.cnf"|' latex/latex/environment.py
+sed -i -e 's|_CONFIG_FILENAME = "/etc/texmf/texmf.cnf"|_CONFIG_FILENAME = "/usr/share/texlive/texmf-dist/web2c/texmf.cnf"|' latex/latex/environment.py
 sed -i -e 's|_DEFAULT_TEXMF_DIR = "/usr/share/texmf-texlive"|_DEFAULT_TEXMF_DIR = "/usr/share/texmf"|' latex/latex/environment.py
 
 
@@ -68,13 +68,15 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
 
 
 %files -f %{name}.lang
-%defattr(-,root,root,-)
 %doc README NEWS COPYING
 %{_libdir}/gedit/plugins/*
 %{_datadir}/gedit/plugins/latex/
 %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.latex.gschema.xml
 
 %changelog
+* Wed Jan 15 2014 Sergio Pascual <sergiopr at fedoraproject.org> - 3.8.0-4
+- Correct wrong _CONFIG_FILENAME
+
 * Sun Sep 29 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 3.8.0-3
 - Add requires python3-dbus (bz 986892)
 - Patch fixes python2 print (bz 986892)


More information about the scm-commits mailing list