Remove not used test file

This commit is contained in:
Michal Josef Špaček 2024-07-13 16:42:54 +02:00
parent a98fd86a9a
commit 5091a8f0fb

View File

@ -1,6 +1,6 @@
Name: perl-Test-Deep
Version: 1.204
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Extremely flexible deep comparison
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Test-Deep
@ -74,6 +74,8 @@ mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
# Remove author tests.
rm -f %{buildroot}%{_libexecdir}/%{name}/t/00*
# Remove unused test
rm -f %{buildroot}%{_libexecdir}/%{name}/t/regexp.t.orig
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
@ -94,6 +96,9 @@ make test
%{_libexecdir}/%{name}
%changelog
* Sat Jul 13 2024 Michal Josef Špaček <mspacek@redhat.com> - 1.204-8
- Remove not used test file
* Fri Jul 12 2024 Michal Josef Špaček <mspacek@redhat.com> - 1.204-7
- Package tests