[emacs-auctex] Replace define with global in macro definitions Add patch to fix previewing of equations courtesy of

Jonathan G. Underwood jgu at fedoraproject.org
Tue Mar 8 23:19:05 UTC 2011


commit a138c7147706b67c59f8b27cb11f6c931f36d409
Author: Jonathan G. Underwood <jonathan.underwood at gmail.com>
Date:   Tue Mar 8 23:19:01 2011 +0000

    Replace define with global in macro definitions
    Add patch to fix previewing of equations courtesy of Sato Ichi (BZ 646632)
    Add defattr to doc sub-package

 emacs-auctex.spec |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/emacs-auctex.spec b/emacs-auctex.spec
index c03aa7e..6feee91 100644
--- a/emacs-auctex.spec
+++ b/emacs-auctex.spec
@@ -7,12 +7,12 @@
 # already includes preview.sty and so this may not be desireable -- setting the
 # following value to 0 means that preview-latex/AucTeX will use a privately
 # installed copy of preview.sty.
-%define separate_preview 1
+%global separate_preview 1
 
 Summary: 	Enhanced TeX modes for Emacs
 Name: 		emacs-auctex
 Version: 	11.86
-Release: 	5%{?dist}
+Release: 	6%{?dist}
 License: 	GPLv3+
 Group: 		Applications/Editors
 URL: 		http://www.gnu.org/software/auctex/
@@ -30,6 +30,9 @@ Requires: 	tex-preview = %{version}-%{release}
 
 Source0: 	ftp://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz
 
+# This patch is present upstream and can be removed in the next release after 11.86
+Patch0:		auctex-11.86-fix-equation-preview.patch
+
 BuildArch: 	noarch
 BuildRequires: 	emacs texlive-latex texinfo-tex ghostscript
 
@@ -99,6 +102,8 @@ Emacs.
 %prep
 %setup -q -n auctex-%{version}
 
+%patch0 -p0 -d preview
+
 %build
 %if %{separate_preview}
 %configure --with-emacs 
@@ -180,6 +185,11 @@ fi
 %doc doc/html
 
 %changelog
+* Tue Mar  8 2011 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 11.86-6
+- Replace define with global in macro definitions
+- Add patch to fix previewing of equations courtesy of Sato Ichi (BZ 646632)
+- Add defattr to doc sub-package
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 11.86-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list