SHA256
1
0
forked from pool/emacs

Accepting request 1104659 from editors

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1104659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs?expand=0&rev=176
This commit is contained in:
Ana Guerrero 2023-08-21 09:42:54 +00:00 committed by Git OBS Bridge
commit 0bdf7ff92d
3 changed files with 26 additions and 2 deletions

View File

@ -364,7 +364,7 @@
+ (ispell-find-aspell-dictionaries)
+ (let ((dicts (reverse (cons (cons "default" nil)
+ (append ispell-local-dictionary-alist ispell-dictionary-alist))))
+ name load-dict)
+ name)
+ (dolist (dict dicts)
+ (setq name (car dict))
+ (cond ((not (stringp name))
@ -386,7 +386,7 @@
+ (ispell-find-hunspell-dictionaries)
+ (let ((dicts (reverse (cons (cons "default" nil)
+ (append ispell-local-dictionary-alist ispell-hunspell-dictionary-alist))))
+ name load-dict)
+ name)
+ (dolist (dict dicts)
+ (setq name (car dict))
+ (cond ((not (stringp name))

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Aug 11 10:33:54 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- Require bwrap at build time as some tools requires it if checks
are enabled
-------------------------------------------------------------------
Thu Aug 10 07:17:09 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- Modify patch emacs-29.1.dif
* Avoid in ispell.el unused lexical variable `load-dict'
-------------------------------------------------------------------
Mon Aug 7 07:37:16 UTC 2023 - Dr. Werner Fink <werner@suse.de>

View File

@ -29,8 +29,12 @@
# to be stored in emacs-<version>-pdf.tar.xz only once
%bcond_with tex4pdf
%bcond_with memmmap
%bcond_with checks
Name: emacs
%if %{with checks}
BuildRequires: bubblewrap
%endif
%if %{with autoconf}
BuildRequires: autoconf
BuildRequires: automake
@ -81,9 +85,12 @@ BuildRequires: texlive-collection-langczechslovak
BuildRequires: texlive-collection-langpolish
BuildRequires: texlive-lh
%endif
#BuildRequires: i3
BuildRequires: procps
BuildRequires: update-alternatives
BuildRequires: update-desktop-files
#BuildRequires: xdotool
#BuildRequires: xorg-x11-Xvfb
BuildRequires: xz
BuildRequires: zlib-devel
BuildRequires: pkgconfig(ImageMagick)
@ -734,6 +741,11 @@ do
done
%endif
%if %{with checks}
%check
make check
%endif
%pre
test -L usr/bin/emacs && rm -f usr/bin/emacs || true