Compare commits

...

No commits in common. 'c10-beta' and 'c9' have entirely different histories.
c10-beta ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/IO-Compress-2.212.tar.gz SOURCES/IO-Compress-2.102.tar.gz

@ -1 +1 @@
8489a2f154aed271c5535f26b309c053198d926e SOURCES/IO-Compress-2.212.tar.gz 53b0723f80c6d241c016e92697fc7363707756e3 SOURCES/IO-Compress-2.102.tar.gz

@ -8,15 +8,15 @@
%endif %endif
# Dependency version if different to this package version # Dependency version if different to this package version
#global depver 2.201 %global depver 2.101
%{?perl_default_filter} %{?perl_default_filter}
Name: perl-IO-Compress Name: perl-IO-Compress
Version: 2.212 Version: 2.102
Release: 511%{?dist} Release: 4%{?dist}
Summary: Read and write compressed data Summary: Read and write compressed data
License: GPL-1.0-or-later OR Artistic-1.0-Perl License: GPL+ or Artistic
URL: https://metacpan.org/release/IO-Compress URL: https://metacpan.org/release/IO-Compress
Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Compress-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Compress-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
@ -44,10 +44,10 @@ BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::File) BuildRequires: perl(IO::File)
BuildRequires: perl(IO::Handle) BuildRequires: perl(IO::Handle)
BuildRequires: perl(List::Util) BuildRequires: perl(List::Util)
BuildRequires: perl(POSIX)
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(Symbol) BuildRequires: perl(Symbol)
BuildRequires: perl(Time::Local)
BuildRequires: perl(utf8) BuildRequires: perl(utf8)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Test Suite # Test Suite
@ -69,6 +69,7 @@ BuildRequires: perl(Test::NoWarnings)
%endif %endif
%endif %endif
# Runtime # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(File::Glob) Requires: perl(File::Glob)
# This is wrapper for different Compress modules # This is wrapper for different Compress modules
@ -133,10 +134,19 @@ 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
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" 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
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}
@ -145,13 +155,10 @@ perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_install} INSTALLDIRS=perl %{make_install} INSTALLDIRS=perl
# 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 perl -i -pe "s{\"./bin/\"}{\"%{_bindir}\"}" %{buildroot}/%{_libexecdir}/%{name}/t/011-streamzip.t
rm %{buildroot}%{_libexecdir}/%{name}/t/999pod.t cat > %{buildroot}/%{_libexecdir}/%{name}/test << 'EOF'
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 #!/bin/sh
set -e set -e
# Lots of tests write into temporary files/directories. The easiest solution # Lots of tests write into temporary files/directories. The easiest solution
@ -160,19 +167,17 @@ DIR=$(mktemp -d)
pushd "$DIR" pushd "$DIR"
cp -a %{_libexecdir}/%{name}/* ./ cp -a %{_libexecdir}/%{name}/* ./
unset PERL_CORE unset PERL_CORE
export TEST_SKIP_VERSION_CHECK=1
prove -I . -j "$(getconf _NPROCESSORS_ONLN)" prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
popd popd
rm -rf "$DIR" rm -rf "$DIR"
EOF EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test chmod +x %{buildroot}/%{_libexecdir}/%{name}/test
%{_fixperms} -c %{buildroot} %{_fixperms} -c %{buildroot}
%check %check
unset PERL_CORE unset PERL_CORE
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
export TEST_SKIP_VERSION_CHECK=1
# Build using "--without long_tests" to avoid very long tests # Build using "--without long_tests" to avoid very long tests
# (full suite can take nearly an hour on an i7 920) # (full suite can take nearly an hour on an i7 920)
make test COMPRESS_ZLIB_RUN_%{?with_long_tests:ALL}%{!?with_long_tests:MOST}=1 make test COMPRESS_ZLIB_RUN_%{?with_long_tests:ALL}%{!?with_long_tests:MOST}=1
@ -209,74 +214,12 @@ make test COMPRESS_ZLIB_RUN_%{?with_long_tests:ALL}%{!?with_long_tests:MOST}=1
%{_libexecdir}/%{name} %{_libexecdir}/%{name}
%changelog %changelog
* Fri Aug 09 2024 Jitka Plesnikova <jplesnik@redhat.com> - 2.212-511 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.102-4
- Perl 5.40 re-rebuild of bootstrapped packages - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 2.212-510
- Increase release to favour standalone package
* 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
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.206-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.206-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 26 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.206-1
- 2.206 bump (rhbz#2225676)
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.205-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jul 17 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.205-1
- 2.205 bump (rhbz#2223222)
* Wed Jul 12 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.204-500
- Perl 5.38 re-rebuild of bootstrapped packages
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.204-499
- Increase release to favour standalone package
* Thu Feb 09 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.204-1
- 2.204 bump
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.201-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.201-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jul 14 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.201-2
- Disable version check in tests
* Sat Jun 25 2022 Paul Howarth <paul@city-fan.org> - 2.201-1
- 2.201 bump
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.106-489
- Perl 5.36 re-rebuild of bootstrapped packages
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.106-488 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.102-3
- Increase release to favour standalone package - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* 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
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.102-479
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.102-478
- Perl 5.34 re-rebuild of bootstrapped packages
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.102-477
- Increase release to favour standalone package
* Mon Mar 01 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.102-2 * Mon Mar 01 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.102-2
- Package tests - Package tests

Loading…
Cancel
Save