diff --git a/libjpeg-turbo.spec b/libjpeg-turbo.spec index 40b84ba..c1f2af6 100644 --- a/libjpeg-turbo.spec +++ b/libjpeg-turbo.spec @@ -132,14 +132,14 @@ MYCFLAGS="$MYCFLAGS -O0 -g" exit 0 %endif export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} -%if 0%{?fedora_version} +%if 0%{?fedora_version} || 0%{?centos_version} ctest --output-on-failure --force-new-ctest-process %else %ctest %endif %install -%if 0%{?fedora_version} +%if 0%{?fedora_version} || 0%{?centos_version} make DESTDIR=%{buildroot} install/fast %else %cmake_install