diff --git a/freerdp.spec b/freerdp.spec index 9ff8b88..b32bd26 100644 --- a/freerdp.spec +++ b/freerdp.spec @@ -178,7 +178,8 @@ find . -name "*.h" -exec chmod 664 {} \; find . -name "*.c" -exec chmod 664 {} \; %build -%cmake %{?_cmake_skip_rpath} \ +%cmake \ + -DBUILD_TESTING=ON \ -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \ -DWITH_ALSA=ON \ -DWITH_AAD=ON \ @@ -255,6 +256,9 @@ find . -name "*.c" -exec chmod 664 {} \; %cmake_build +%check +%cmake_build --target test + %install %cmake_install