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:
parent
eb6f4cf37c
commit
44e602fd45
@ -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>
|
Wed Oct 6 11:46:58 UTC 2021 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
|
@ -27,6 +27,9 @@ URL: https://wayland.freedesktop.org/
|
|||||||
Source: https://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
|
Source: https://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
|
||||||
Source2: https://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz.sig
|
Source2: https://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz.sig
|
||||||
Source3: %{name}.keyring
|
Source3: %{name}.keyring
|
||||||
|
|
||||||
|
BuildRequires: c_compiler
|
||||||
|
BuildRequires: c++_compiler
|
||||||
BuildRequires: meson >= 0.54.0
|
BuildRequires: meson >= 0.54.0
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(wayland-scanner)
|
BuildRequires: pkgconfig(wayland-scanner)
|
||||||
@ -54,12 +57,15 @@ wayland-protocols.
|
|||||||
%autosetup
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson -Dtests=false
|
%meson
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
%meson_test
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc README.md GOVERNANCE.md MEMBERS.md
|
%doc README.md GOVERNANCE.md MEMBERS.md
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user