SHA256
1
0
forked from pool/emacs
Dr. Werner Fink 2023-08-11 10:42:26 +00:00 committed by Git OBS Bridge
parent da85a1503a
commit 57d068c042
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

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