2.106 bump
This commit is contained in:
parent
50e31f2d5c
commit
e98485e8bf
@ -8,13 +8,13 @@
|
||||
%endif
|
||||
|
||||
# Dependency version if different to this package version
|
||||
%global depver 2.101
|
||||
%global depver 2.103
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
Name: perl-IO-Compress
|
||||
Version: 2.102
|
||||
Release: 480%{?dist}
|
||||
Version: 2.106
|
||||
Release: 1%{?dist}
|
||||
Summary: Read and write compressed data
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/IO-Compress
|
||||
@ -134,19 +134,10 @@ perl -MConfig -pi -e 's|^#!/usr/local/bin/perl\b|$Config{startperl}|' examples/i
|
||||
|
||||
# Help file to recognise the Perl scripts and normalize shebangs
|
||||
for F in `find t -name *.t` `find t -name *.pl`; do
|
||||
if head -1 "$F" | grep -q -e '^#!.*perl' ; then
|
||||
perl -MConfig -pi -e 's|^#!.*perl\b|$Config{startperl}|' "$F"
|
||||
else
|
||||
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' "$F"
|
||||
fi
|
||||
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
||||
chmod +x "$F"
|
||||
done
|
||||
|
||||
# Remove release tests
|
||||
rm t/999pod.t t/999meta-*.t
|
||||
perl -i -ne 'print $_ unless m{^t/999pod\.t}' MANIFEST
|
||||
perl -i -ne 'print $_ unless m{^t/999meta-.*\.t}' MANIFEST
|
||||
|
||||
%build
|
||||
perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
@ -157,6 +148,9 @@ perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
# Install tests
|
||||
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'
|
||||
#!/bin/sh
|
||||
@ -214,6 +208,9 @@ make test COMPRESS_ZLIB_RUN_%{?with_long_tests:ALL}%{!?with_long_tests:MOST}=1
|
||||
%{_libexecdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Mon Apr 25 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.103-1
|
||||
- 2.106 bump
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.102-480
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (IO-Compress-2.102.tar.gz) = 1dde4a9c7274106440d8cef2cba016d283472fa8de83a2f51d0acd3acbf36e2130ab1d72f238854228675abdd3653e7830db1ef59af890c3b9acd1e042cab5ea
|
||||
SHA512 (IO-Compress-2.106.tar.gz) = 64ffac9bce2314682b27c6a50119c11dbb91c208b4cf22c173a8f72b727ca5240ce64381ccd0e039ad68cf50b368a20fc004190a6b75667bb7e3a4f1eb1de1b6
|
||||
|
Loading…
Reference in New Issue
Block a user