Accepting request 1248620 from editors

- Add patch auctex-14.0.7-texinfo.patch
  * Make it build again with latest texinfo package

OBS-URL: https://build.opensuse.org/request/show/1248620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs-auctex?expand=0&rev=51
This commit is contained in:
Dominique Leuenberger 2025-02-26 16:24:15 +00:00 committed by Git OBS Bridge
commit ba312ffed1
4 changed files with 52 additions and 4 deletions

View File

@ -0,0 +1,38 @@
--- doc/auctex.texi
+++ doc/auctex.texi 2025-02-26 11:52:18.392253411 +0000
@@ -38,10 +38,6 @@ Documentation License.''
* AUCTeX: (auctex). A sophisticated TeX environment for Emacs.
@end direntry
-@iftex
-@tolerance 10000 @emergencystretch 3em
-@end iftex
-
@finalout
@titlepage
@title @AUCTeX{}
--- doc/macros.texi
+++ doc/macros.texi 2025-02-26 11:52:55.639067300 +0000
@@ -1,6 +1,5 @@
@ifclear macros
@set macros
-@ifnottex
@macro AUCTeX {}
AUC@TeX{}
@end macro
@@ -37,15 +36,12 @@ font-latex
@samp{\text\}
@end macro
@end ifset
-@end ifnottex
@ifset no-sansserif
@macro sansserif {text}@c
@iftex
{@textsf \text\}@c
@end iftex
-@ifnottex
\text\@c
-@end ifnottex
@end macro
@end ifset
@tex

View File

@ -4,7 +4,7 @@
--- tex.el
+++ tex.el 2022-09-10 15:13:15.964170324 +0000
@@ -450,7 +450,7 @@ string."
@@ -448,7 +448,7 @@ string."
;; TeX-print-command.
(defcustom TeX-print-command

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 26 09:56:23 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Add patch auctex-14.0.7-texinfo.patch
* Make it build again with latest texinfo package
-------------------------------------------------------------------
Thu Nov 21 15:26:38 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package emacs-auctex
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -58,6 +58,7 @@ URL: https://www.gnu.org/software/auctex
# Allows to select printer instance
# PATCH-FEATURE-UPSTREAM dvips.patch
Patch0: dvips.patch
Patch1: auctex-14.0.7-texinfo.patch
BuildArch: noarch
%description
@ -76,6 +77,7 @@ in the info file auctex in emacs info-mode.
%prep
%setup -n auctex-%{version}
%patch -P0
%patch -P1
%build
unset ${!LC_*}
@ -151,6 +153,7 @@ unelc ()
mkdir -p %{buildroot}%{_sitedir}/auctex-%{version}
tar cpf - *.el *.elc auto/ style/ images/ | \
tar xpf - -C %{buildroot}%{_sitedir}/auctex-%{version}/
find
pushd doc
install -m 644 -D -t %{buildroot}%{_infodir} preview-latex.info
@ -159,6 +162,7 @@ unelc ()
pushd %{buildroot}%{_sitedir}/auctex-%{version}
find -name '*.el' -exec gzip -n -f9 '{}' \+
find -name '*.el.gz' -exec chmod 644 '{}' \+
unelc auctex-autoloads.elc
unelc auctex-pkg.elc
unelc auctex.elc
@ -228,10 +232,10 @@ done
%doc %{_infodir}/*.info*.gz
%{_aucdir}/*.el
%{_aucdir}/*.el%{ext_el}
%ghost %verify(not mode) %{_aucdir}/font-latex.elc
%ghost %verify(not mode) %attr(0644,root,root) %{_aucdir}/font-latex.elc
%{_aucdir}/*.elc
%{_aucdir}/auctex/font-latex.el
%ghost %verify(not mode) %{_aucdir}/auctex/font-latex.elc
%ghost %verify(not mode) %attr(0644,root,root) %{_aucdir}/auctex/font-latex.elc
%{_aucdir}/auctex/.nosearch
%{_aucdir}/auto/*.el%{ext_el}
%{_aucdir}/auto/*.elc