Fix running of tests in perl-Net-Server-tests subpackage

Resolves: RHEL-65278
This commit is contained in:
Michal Josef Špaček 2024-10-29 15:45:37 +01:00
parent af53c25285
commit 710fe0b4aa

View File

@ -107,7 +107,8 @@ mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" -r
# XXX Not possible to run in parallel
cd %{_libexecdir}/%{name} && exec prove -I . -r
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%{_fixperms} %{buildroot}/*
@ -128,6 +129,8 @@ make test
%changelog
* Thu Nov 21 2024 Michal Josef Špaček <mspacek@redhat.com> - 2.014-9
- Fix running of tests in perl-Net-Server-tests subpackage
Resolves: RHEL-65278
- Sync OpenSSL Engine patch with upstream
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.014-8