forked from pool/emacs
checks
OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=356
This commit is contained in:
parent
da85a1503a
commit
57d068c042
@ -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>
|
||||
|
||||
|
12
emacs.spec
12
emacs.spec
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user