diff --git a/perl-IPC-SysV.spec b/perl-IPC-SysV.spec index 0eba593..8aa4166 100644 --- a/perl-IPC-SysV.spec +++ b/perl-IPC-SysV.spec @@ -81,7 +81,9 @@ find %{buildroot} -type f -name '*.bs' -size 0 -delete # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} +%if %{with perl_IPC_SysV_enables_optional_test} && !%{defined perl_bootstrap} rm %{buildroot}%{_libexecdir}/%{name}/t/pod* +%endif cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"