diff --git a/wayland-protocols.changes b/wayland-protocols.changes index b0e1dfd..801c174 100644 --- a/wayland-protocols.changes +++ b/wayland-protocols.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Oct 13 08:04:58 UTC 2021 - Bjørn Lie + +- 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 diff --git a/wayland-protocols.spec b/wayland-protocols.spec index 5f5667e..8618d3e 100644 --- a/wayland-protocols.spec +++ b/wayland-protocols.spec @@ -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