Update to 2.212

This commit is contained in:
Jitka Plesnikova 2024-07-17 14:23:22 +02:00
parent 44995bd279
commit 1dacbecfd1
2 changed files with 13 additions and 10 deletions

View File

@ -13,8 +13,8 @@
%{?perl_default_filter}
Name: perl-IO-Compress
Version: 2.206
Release: 4%{?dist}
Version: 2.212
Release: 1%{?dist}
Summary: Read and write compressed data
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/IO-Compress
@ -145,13 +145,13 @@ perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_install} INSTALLDIRS=perl
# Install tests
mkdir -p %{buildroot}/%{_libexecdir}/%{name}
cp -a examples t %{buildroot}/%{_libexecdir}/%{name}
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a examples t %{buildroot}%{_libexecdir}/%{name}
# Remove release tests
rm %{buildroot}/%{_libexecdir}/%{name}/t/999pod.t
rm %{buildroot}/%{_libexecdir}/%{name}/t/999meta-*.t
perl -i -pe "s{\"./bin/\"}{\"%{_bindir}\"}" %{buildroot}/%{_libexecdir}/%{name}/t/011-streamzip.t
cat > %{buildroot}/%{_libexecdir}/%{name}/test << 'EOF'
rm %{buildroot}%{_libexecdir}/%{name}/t/999pod.t
rm %{buildroot}%{_libexecdir}/%{name}/t/999meta-*.t
perl -i -pe "s{\"./bin/\"}{\"%{_bindir}\"}" %{buildroot}%{_libexecdir}/%{name}/t/011-streamzip.t
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
set -e
# Lots of tests write into temporary files/directories. The easiest solution
@ -165,7 +165,7 @@ prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
popd
rm -rf "$DIR"
EOF
chmod +x %{buildroot}/%{_libexecdir}/%{name}/test
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%{_fixperms} -c %{buildroot}
@ -209,6 +209,9 @@ make test COMPRESS_ZLIB_RUN_%{?with_long_tests:ALL}%{!?with_long_tests:MOST}=1
%{_libexecdir}/%{name}
%changelog
* Tue Jul 16 2024 Jitka Plesnikova <jplesnik@redhat.com> - 2.212-1
- 2.212 bump
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.206-4
- Bump release for June 2024 mass rebuild

View File

@ -1 +1 @@
SHA512 (IO-Compress-2.206.tar.gz) = 6d4f40d28d037a1683f8a7deca5c382b3ddd9b9c6718aa648d4d4db73701b78c2f3831e2bfe0f32ed7d3321d5b73621a77497dd26f880a60cb5221cc45aacaa6
SHA512 (IO-Compress-2.212.tar.gz) = 9860661e6a89fdb24aae995f4e4966f4c98a69c0b2b7e79a172fd1c63db64259fde56bc8ecd633bc446667b06378febefe38d94705fc323468f64fc992c7b611