2.103 bump

This commit is contained in:
Jitka Plesnikova 2022-04-25 09:08:53 +02:00
parent f034cf3245
commit 6cf07a84f0
2 changed files with 10 additions and 10 deletions

View File

@ -7,8 +7,8 @@
Name: perl-Compress-Raw-Zlib
Version: 2.101
Release: 480%{?dist}
Version: 2.103
Release: 1%{?dist}
Summary: Low-level interface to the zlib compression library
# Zlib.xs: (GPL+ or Artistic) and zlib
# Others: GPL+ or Artistic
@ -117,11 +117,6 @@ for F in t/*.t; do
chmod +x "$F"
done
# Remove release tests
rm t/99pod.t t/meta-*.t
perl -i -ne 'print $_ unless m{^t/99pod\.t}' MANIFEST
perl -i -ne 'print $_ unless m{^t/meta-.*\.t}' MANIFEST
%build
OLD_ZLIB=False
BUILD_ZLIB=False
@ -134,10 +129,14 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERL
%install
%{make_install}
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot}
# Install tests
mkdir -p %{buildroot}/%{_libexecdir}/%{name}
cp -a t %{buildroot}/%{_libexecdir}/%{name}
# Remove release tests
rm %{buildroot}/%{_libexecdir}/%{name}/t/99pod.t
rm %{buildroot}/%{_libexecdir}/%{name}/t/meta-*.t
perl -i -pe "s{DIR => '.'}{DIR => '/tmp'}" %{buildroot}/%{_libexecdir}/%{name}/t/compress/CompTestUtils.pm
cat > %{buildroot}/%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
@ -146,8 +145,6 @@ cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}/%{_libexecdir}/%{name}/test
%{_fixperms} -c %{buildroot}
%check
unset PERL_CORE
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
@ -163,6 +160,9 @@ make test COMPRESS_ZLIB_RUN_MOST=1
%{_libexecdir}/%{name}
%changelog
* Mon Apr 04 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.103-1
- 2.103 bump
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.101-480
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (Compress-Raw-Zlib-2.101.tar.gz) = a17574ddac0defc73e2f522a8417adf88f0e4b112f5382f0a1b29f53ddeaa6df4792562793bf332ef45f42a655b02d14fa99176e7902f87d562336a0c34673f2
SHA512 (Compress-Raw-Zlib-2.103.tar.gz) = bced7e72aee80e02ea0193e2cab040f51764db30940e509039f875c2c6baffd7e8b26a37214a6f17992e360f473bb0408f1d6ecc3ae4a0ede7904a7ffe935a89