2.106 bump
This commit is contained in:
parent
50e31f2d5c
commit
e98485e8bf
@ -8,13 +8,13 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Dependency version if different to this package version
|
# Dependency version if different to this package version
|
||||||
%global depver 2.101
|
%global depver 2.103
|
||||||
|
|
||||||
%{?perl_default_filter}
|
%{?perl_default_filter}
|
||||||
|
|
||||||
Name: perl-IO-Compress
|
Name: perl-IO-Compress
|
||||||
Version: 2.102
|
Version: 2.106
|
||||||
Release: 480%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Read and write compressed data
|
Summary: Read and write compressed data
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: https://metacpan.org/release/IO-Compress
|
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
|
# Help file to recognise the Perl scripts and normalize shebangs
|
||||||
for F in `find t -name *.t` `find t -name *.pl`; do
|
for F in `find t -name *.t` `find t -name *.pl`; do
|
||||||
if head -1 "$F" | grep -q -e '^#!.*perl' ; then
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
||||||
perl -MConfig -pi -e 's|^#!.*perl\b|$Config{startperl}|' "$F"
|
|
||||||
else
|
|
||||||
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' "$F"
|
|
||||||
fi
|
|
||||||
chmod +x "$F"
|
chmod +x "$F"
|
||||||
done
|
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
|
%build
|
||||||
perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1
|
perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||||
%{make_build}
|
%{make_build}
|
||||||
@ -157,6 +148,9 @@ perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1
|
|||||||
# Install tests
|
# Install tests
|
||||||
mkdir -p %{buildroot}/%{_libexecdir}/%{name}
|
mkdir -p %{buildroot}/%{_libexecdir}/%{name}
|
||||||
cp -a examples t %{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
|
perl -i -pe "s{\"./bin/\"}{\"%{_bindir}\"}" %{buildroot}/%{_libexecdir}/%{name}/t/011-streamzip.t
|
||||||
cat > %{buildroot}/%{_libexecdir}/%{name}/test << 'EOF'
|
cat > %{buildroot}/%{_libexecdir}/%{name}/test << 'EOF'
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -214,6 +208,9 @@ make test COMPRESS_ZLIB_RUN_%{?with_long_tests:ALL}%{!?with_long_tests:MOST}=1
|
|||||||
%{_libexecdir}/%{name}
|
%{_libexecdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.102-480
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
- 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