Fix patch macro

This commit is contained in:
Michal Josef Špaček 2024-07-12 11:28:29 +02:00
parent fb823e27c3
commit 977421a6cf

View File

@ -112,8 +112,8 @@ with "%{_libexecdir}/%{name}/test".
%prep %prep
%setup -q -n libnet-%{base_version} %setup -q -n libnet-%{base_version}
%patch0 -p1 %patch -P0 -p1
%patch1 -p1 %patch -P1 -p1
# Help generators to recognize Perl scripts # Help generators to recognize Perl scripts
for F in $(find t/ -name '*.t'); do for F in $(find t/ -name '*.t'); do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
@ -151,6 +151,7 @@ make test
%changelog %changelog
* Fri Jul 12 2024 Michal Josef Špaček <mspacek@redhat.com> - 3.15-505 * Fri Jul 12 2024 Michal Josef Špaček <mspacek@redhat.com> - 3.15-505
- Fix patch macro
- Package tests - Package tests
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.15-504 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.15-504