From a138c7147706b67c59f8b27cb11f6c931f36d409 Mon Sep 17 00:00:00 2001 From: Jonathan G. Underwood Date: Mar 08 2011 23:19:01 +0000 Subject: 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 --- 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 - 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 - 11.86-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild