Compare commits

..

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

2
.gitignore vendored

@ -1 +1 @@
SOURCES/Archive-Tar-2.38.tar.gz SOURCES/Archive-Tar-3.02.tar.gz

@ -1 +1 @@
344e5f089005547a13e6b1348c09bbcd599647f8 SOURCES/Archive-Tar-2.38.tar.gz d303eed9b92ab22c469e1a086bb2b0d8e1df004b SOURCES/Archive-Tar-3.02.tar.gz

@ -6,10 +6,10 @@
%endif %endif
Name: perl-Archive-Tar Name: perl-Archive-Tar
Version: 2.38 Version: 3.02
Release: 6%{?dist} Release: 511%{?dist}
Summary: A module for Perl manipulation of .tar files Summary: A module for Perl manipulation of .tar files
License: GPL+ or Artistic License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Archive-Tar URL: https://metacpan.org/release/Archive-Tar
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Archive-Tar-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Archive-Tar-%{version}.tar.gz
# Remove annoying sleep after warnings in the build script # Remove annoying sleep after warnings in the build script
@ -69,7 +69,6 @@ BuildRequires: perl(Test::More)
BuildRequires: perl(IPC::Cmd) BuildRequires: perl(IPC::Cmd)
BuildRequires: perl(Test::Pod) >= 0.95 BuildRequires: perl(Test::Pod) >= 0.95
%endif %endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(IO::Zlib) >= 1.01 Requires: perl(IO::Zlib) >= 1.01
# Optional run-time: # Optional run-time:
Requires: perl(IO::Compress::Bzip2) >= 2.015 Requires: perl(IO::Compress::Bzip2) >= 2.015
@ -94,9 +93,26 @@ while also allowing for the creation of tar file objects for custom
manipulation. If you have the IO::Zlib module installed, Archive::Tar manipulation. If you have the IO::Zlib module installed, Archive::Tar
will also support compressed or gzipped tar files. will also support compressed or gzipped tar files.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl(ExtUtils::MakeMaker)
Requires: perl(IPC::Cmd)
Requires: perl-Test-Harness
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep %prep
%setup -q -n Archive-Tar-%{version} %setup -q -n Archive-Tar-%{version}
%patch0 -p1 -b .orig %patch -P0 -p1
# Help generators to recognize Perl scripts
for F in t/*.t; do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
chmod +x "$F"
done
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
@ -106,24 +122,99 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_install} %{make_install}
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
rm %{buildroot}%{_libexecdir}/%{name}/t/99_pod.t
mkdir -p %{buildroot}%{_libexecdir}/%{name}/bin
for F in ptar ptardiff ptargrep; do
ln -s %{_bindir}/"$F" %{buildroot}%{_libexecdir}/%{name}/bin
done
cat > %{buildroot}/%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/bash
set -e
# Some tests write into temporary files/directories. The easiest solution
# is to copy the tests into a writable directory and execute them from there.
DIR=$(mktemp -d)
pushd "$DIR"
cp -a %{_libexecdir}/%{name}/* ./
prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
popd
rm -rf "$DIR"
EOF
chmod +x %{buildroot}/%{_libexecdir}/%{name}/test
%check %check
make test make test
%files %files
%doc CHANGES README %doc CHANGES README
%{_bindir}/* %{_bindir}/ptar*
%{perl_vendorlib}/Archive/ %{perl_vendorlib}/Archive/
%{_mandir}/man3/*.3* %{_mandir}/man3/Archive::Tar*.3*
%{_mandir}/man1/*.1* %{_mandir}/man1/ptar*.1*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.38-6 * Fri Aug 09 2024 Jitka Plesnikova <jplesnik@redhat.com> - 3.02-511
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Perl 5.40 re-rebuild of bootstrapped packages
Related: rhbz#1991688
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 3.02-510
- Increase release to favour standalone package
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.02-7
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.02-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.02-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.02-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jul 12 2023 Jitka Plesnikova <jplesnik@redhat.com> - 3.02-3
- Perl 5.38 re-rebuild of bootstrapped packages
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 3.02-2
- Perl 5.38 rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.38-5 * Thu Apr 13 2023 Jitka Plesnikova <jplesnik@redhat.com> - 3.02-1
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - 3.02 bump
* Mon Mar 27 2023 Jitka Plesnikova <jplesnik@redhat.com> - 3.00-1
- 3.00 bump
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.40-491
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.40-490
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.40-489
- Perl 5.36 re-rebuild of bootstrapped packages
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.40-488
- Increase release to favour standalone package
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.40-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Aug 02 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.40-1
- 2.40 bump
- Package tests
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.38-479
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.38-478
- Perl 5.34 re-rebuild of bootstrapped packages
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.38-477
- Increase release to favour standalone package
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.38-4 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.38-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save