[emacs-auctex] Really Fix up installation location of doc files

Jonathan G. Underwood jgu at fedoraproject.org
Wed Feb 12 15:27:02 UTC 2014


commit ca85ad7228a9512551447e4338857d866010d69d
Author: Jonathan G. Underwood <jonathan.underwood at gmail.com>
Date:   Wed Feb 12 15:27:34 2014 +0000

    Really Fix up installation location of doc files

 emacs-auctex.spec |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/emacs-auctex.spec b/emacs-auctex.spec
index d09b9cc..86daeb5 100644
--- a/emacs-auctex.spec
+++ b/emacs-auctex.spec
@@ -12,7 +12,7 @@
 Summary: 	Enhanced TeX modes for Emacs
 Name: 		emacs-auctex
 Version: 	11.87
-Release: 	6%{?dist}
+Release: 	7%{?dist}
 License: 	GPLv3+ and GFDL
 Group: 		Applications/Editors
 URL: 		http://www.gnu.org/software/auctex/
@@ -93,9 +93,11 @@ Emacs.
 
 %build
 %if %{separate_preview}
-%configure --with-emacs --with-texmf-dir=%{_datadir}/texlive/texmf-dist
+%configure --with-emacs \
+	   --with-texmf-dir=%{_datadir}/texlive/texmf-dist \
 %else
-%configure --with-emacs --without-texmf-dir
+%configure --with-emacs \
+	   --without-texmf-dir
 %endif
 
 make
@@ -117,8 +119,6 @@ rm -rf %{buildroot}%{_var}
 # files installed here
 rm -rf %{buildroot}%{_docdir}/auctex
 
-mv %{_datadir}/texlive/texmf-dist/doc/latex/styles/preview %{_datadir}/texlive/texmf-dist/doc/latex/preview
-
 %post
 /sbin/install-info %{_infodir}/auctex.info %{_infodir}/dir 2>/dev/null || :
 /sbin/install-info %{_infodir}/preview-latex.info %{_infodir}/dir 2>/dev/null || :
@@ -161,7 +161,7 @@ fi
 %files -n tex-preview
 %doc COPYING
 %{_datadir}/texlive/texmf-dist/tex/latex/preview
-%{_datadir}/texlive/texmf-dist/doc/latex/preview
+%{_datadir}/texlive/texmf-dist/doc/latex/styles
 %endif
 
 %files doc
@@ -169,6 +169,9 @@ fi
 %doc doc/html
 
 %changelog
+* Wed Feb 12 2014 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 11.87-7
+- Really Fix up installation location of doc files
+
 * Thu Feb  6 2014 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 11.87-6
 - Fix up installation location of doc files
 


More information about the scm-commits mailing list