Accepting request 925027 from home:iznogood:branches:X11:Wayland

- Run test-suite during build:
  + Add c_compiler and c++_compiler BuildRequires.
  + Stop passing tests=false to meson.
  + Add check section and meson_test macro.

OBS-URL: https://build.opensuse.org/request/show/925027
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/wayland-protocols?expand=0&rev=52
This commit is contained in:
Antonio Larrosa 2021-10-13 09:02:25 +00:00 committed by Git OBS Bridge
parent eb6f4cf37c
commit 44e602fd45
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Oct 13 08:04:58 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Run test-suite during build:
+ Add c_compiler and c++_compiler BuildRequires.
+ Stop passing tests=false to meson.
+ Add check section and meson_test macro.
-------------------------------------------------------------------
Wed Oct 6 11:46:58 UTC 2021 - Fabian Vogt <fvogt@suse.com>

View File

@ -27,6 +27,9 @@ URL: https://wayland.freedesktop.org/
Source: https://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
Source2: https://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz.sig
Source3: %{name}.keyring
BuildRequires: c_compiler
BuildRequires: c++_compiler
BuildRequires: meson >= 0.54.0
BuildRequires: pkgconfig
BuildRequires: pkgconfig(wayland-scanner)
@ -54,12 +57,15 @@ wayland-protocols.
%autosetup
%build
%meson -Dtests=false
%meson
%meson_build
%install
%meson_install
%check
%meson_test
%files devel
%doc README.md GOVERNANCE.md MEMBERS.md
%license COPYING