From d257b50f726a07bd8c47ff00f4bb78c97d9b7de5 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sat, 1 Oct 2022 22:32:56 -0500 Subject: [PATCH] Enable tests Signed-off-by: Michel Alexandre Salim --- rubberband.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/rubberband.spec b/rubberband.spec index dbe2f3c..f5c1441 100644 --- a/rubberband.spec +++ b/rubberband.spec @@ -1,3 +1,5 @@ +%bcond_without check + %global so_version 2 Name: rubberband @@ -13,10 +15,13 @@ BuildRequires: meson BuildRequires: gcc-c++ BuildRequires: ladspa-devel BuildRequires: pkgconfig(fftw3) +BuildRequires: pkgconfig(lv2) BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(sndfile) -BuildRequires: pkgconfig(lv2) BuildRequires: vamp-plugin-sdk-devel +%if %{with check} +BuildRequires: boost-devel +%endif Requires: ladspa Requires: lv2 @@ -53,9 +58,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a -# no tests yet -# check -# meson_test +%if %{with check} +%check +%meson_test +%endif %files