|
|
625c4b |
# Run optional tests
|
|
|
625c4b |
%if ! (0%{?rhel})
|
|
|
625c4b |
%bcond_without perl_Compress_Bzip2_enables_optional_test
|
|
|
625c4b |
%else
|
|
|
625c4b |
%bcond_with perl_Compress_Bzip2_enables_optional_test
|
|
|
625c4b |
%endif
|
|
|
625c4b |
|
|
|
625c4b |
Name: perl-Compress-Bzip2
|
|
|
625c4b |
Version: 2.28
|
|
|
625c4b |
Release: 2%{?dist}
|
|
|
625c4b |
Summary: Interface to Bzip2 compression library
|
|
|
625c4b |
# bzlib-src/win-tst-dlltest.c (unbundled): Public Domain
|
|
|
625c4b |
# bzlib-src/LICENSE (unbundled): BSD
|
|
|
625c4b |
# bzlib-src/manual.ps (unbundled): GPL+ with exception
|
|
|
625c4b |
# other files: GPL+ or Artistic
|
|
|
625c4b |
License: GPL+ or Artistic
|
|
|
625c4b |
URL: https://metacpan.org/release/Compress-Bzip2
|
|
|
625c4b |
Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Compress-Bzip2-%{version}.tar.gz
|
|
|
625c4b |
BuildRequires: bzip2-devel >= 1.0.5
|
|
|
625c4b |
BuildRequires: coreutils
|
|
|
625c4b |
BuildRequires: findutils
|
|
|
625c4b |
BuildRequires: gcc
|
|
|
625c4b |
BuildRequires: make
|
|
|
625c4b |
BuildRequires: perl-devel
|
|
|
625c4b |
BuildRequires: perl-generators
|
|
|
625c4b |
BuildRequires: perl-interpreter
|
|
|
625c4b |
BuildRequires: perl(:VERSION) >= 5.8.1
|
|
|
625c4b |
BuildRequires: perl(Config)
|
|
|
625c4b |
BuildRequires: perl(File::Copy)
|
|
|
625c4b |
BuildRequires: perl(File::Spec)
|
|
|
625c4b |
BuildRequires: perl(File::Spec::Functions)
|
|
|
625c4b |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
625c4b |
BuildRequires: perl(strict)
|
|
|
625c4b |
# VMS::Filespec not needed
|
|
|
625c4b |
# Run-time:
|
|
|
625c4b |
BuildRequires: perl(AutoLoader)
|
|
|
625c4b |
BuildRequires: perl(Carp)
|
|
|
625c4b |
BuildRequires: perl(constant) >= 1.04
|
|
|
625c4b |
BuildRequires: perl(Exporter)
|
|
|
625c4b |
BuildRequires: perl(Fcntl)
|
|
|
625c4b |
BuildRequires: perl(Getopt::Std)
|
|
|
625c4b |
BuildRequires: perl(warnings)
|
|
|
625c4b |
BuildRequires: perl(XSLoader)
|
|
|
625c4b |
# Tests:
|
|
|
625c4b |
BuildRequires: perl(Cwd)
|
|
|
625c4b |
# Memory::Usage not used
|
|
|
625c4b |
BuildRequires: perl(Test::More)
|
|
|
625c4b |
# Test::Kwalitee not used
|
|
|
625c4b |
# Optional tests:
|
|
|
625c4b |
%if !%{defined perl_bootstrap} && %{with perl_Compress_Bzip2_enables_optional_test}
|
|
|
625c4b |
BuildRequires: perl(Test::LeakTrace)
|
|
|
625c4b |
%endif
|
|
|
625c4b |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
625c4b |
Requires: perl(constant) >= 1.04
|
|
|
625c4b |
|
|
|
625c4b |
%{?perl_default_filter}
|
|
|
625c4b |
# Remove under-specified dependencies
|
|
|
625c4b |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(constant\\)$
|
|
|
625c4b |
|
|
|
625c4b |
%description
|
|
|
625c4b |
The Compress::Bzip2 module provides a Perl interface to the Bzip2 compression
|
|
|
625c4b |
library. A relevant subset of the functionality provided by Bzip2 is available
|
|
|
625c4b |
in Compress::Bzip2. Compress::Bzip2 is not well integrated into PerlIO, use
|
|
|
625c4b |
the preferred IO::Compress::Bzip2 instead.
|
|
|
625c4b |
|
|
|
625c4b |
%prep
|
|
|
625c4b |
%setup -q -n Compress-Bzip2-%{version}
|
|
|
625c4b |
# Remove bundled bzip2 library
|
|
|
625c4b |
find bzlib-src -mindepth 1 -type f \! -name 'sample*' -delete
|
|
|
625c4b |
perl -i -ne 'print $_ unless m{^bzlib-src/}' MANIFEST
|
|
|
625c4b |
find bzlib-src -type f >>MANIFEST
|
|
|
625c4b |
|
|
|
625c4b |
%build
|
|
|
625c4b |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 \
|
|
|
625c4b |
OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
625c4b |
%make_build
|
|
|
625c4b |
|
|
|
625c4b |
%install
|
|
|
625c4b |
%make_install
|
|
|
625c4b |
find %{buildroot} -type f -name '*.bs' -empty -delete
|
|
|
625c4b |
%{_fixperms} %{buildroot}
|
|
|
625c4b |
|
|
|
625c4b |
%check
|
|
|
625c4b |
make test
|
|
|
625c4b |
|
|
|
625c4b |
%files
|
|
|
625c4b |
%license COPYING
|
|
|
625c4b |
%doc ANNOUNCE Changes NEWS README.md
|
|
|
625c4b |
%{perl_vendorarch}/Compress/
|
|
|
625c4b |
%{perl_vendorarch}/auto/Compress/
|
|
|
625c4b |
%{_mandir}/man3/*.3pm*
|
|
|
625c4b |
|
|
|
625c4b |
%changelog
|
|
|
625c4b |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.28-2
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Mon Jul 20 2020 Petr Pisar <ppisar@redhat.com> - 2.28-1
|
|
|
625c4b |
- 2.28 bump
|
|
|
625c4b |
|
|
|
625c4b |
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.27-4
|
|
|
625c4b |
- Perl 5.32 re-rebuild of bootstrapped packages
|
|
|
625c4b |
|
|
|
625c4b |
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.27-3
|
|
|
625c4b |
- Perl 5.32 rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Wed May 27 2020 Petr Pisar <ppisar@redhat.com> - 2.27-2
|
|
|
625c4b |
- A dummy release to overcome a Koji failure
|
|
|
625c4b |
|
|
|
625c4b |
* Wed May 27 2020 Petr Pisar <ppisar@redhat.com> - 2.27-1
|
|
|
625c4b |
- 2.27 bump
|
|
|
625c4b |
|
|
|
625c4b |
* Tue Feb 04 2020 Petr Pisar <ppisar@redhat.com> - 2.26-16
|
|
|
625c4b |
- NO_PERLLOCAL=1 needs a recent ExtUtils::MakeMaker
|
|
|
625c4b |
|
|
|
625c4b |
* Tue Feb 04 2020 Tom Stellard <tstellar@redhat.com> - 2.26-15
|
|
|
625c4b |
- Use make_build macro
|
|
|
625c4b |
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
|
|
|
625c4b |
|
|
|
625c4b |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-14
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-13
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-12
|
|
|
625c4b |
- Perl 5.30 re-rebuild of bootstrapped packages
|
|
|
625c4b |
|
|
|
625c4b |
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-11
|
|
|
625c4b |
- Perl 5.30 rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-10
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-9
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-8
|
|
|
625c4b |
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
625c4b |
|
|
|
625c4b |
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-7
|
|
|
625c4b |
- Perl 5.28 rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-6
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-5
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-4
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-3
|
|
|
625c4b |
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
625c4b |
|
|
|
625c4b |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.26-2
|
|
|
625c4b |
- Perl 5.26 rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Tue Apr 11 2017 Petr Pisar <ppisar@redhat.com> - 2.26-1
|
|
|
625c4b |
- 2.26 bump
|
|
|
625c4b |
|
|
|
625c4b |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.25-2
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Mon Nov 14 2016 Petr Pisar <ppisar@redhat.com> - 2.25-1
|
|
|
625c4b |
- 2.25 bump
|
|
|
625c4b |
|
|
|
625c4b |
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.24-4
|
|
|
625c4b |
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
625c4b |
|
|
|
625c4b |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.24-3
|
|
|
625c4b |
- Perl 5.24 rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.24-2
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Fri Dec 11 2015 Petr Pisar <ppisar@redhat.com> - 2.24-1
|
|
|
625c4b |
- 2.24 bump
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22-4
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.22-3
|
|
|
625c4b |
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
625c4b |
|
|
|
625c4b |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.22-2
|
|
|
625c4b |
- Perl 5.22 rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Feb 19 2015 Petr Pisar <ppisar@redhat.com> - 2.22-1
|
|
|
625c4b |
- 2.22 bump
|
|
|
625c4b |
|
|
|
625c4b |
* Fri Jan 30 2015 Petr Pisar <ppisar@redhat.com> - 2.20-1
|
|
|
625c4b |
- 2.20 bump
|
|
|
625c4b |
|
|
|
625c4b |
* Wed Oct 29 2014 Petr Pisar <ppisar@redhat.com> - 2.19-2
|
|
|
625c4b |
- Do not build-require version module
|
|
|
625c4b |
|
|
|
625c4b |
* Mon Oct 27 2014 Petr Pisar <ppisar@redhat.com> - 2.19-1
|
|
|
625c4b |
- 2.19 bump
|
|
|
625c4b |
|
|
|
625c4b |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.18-3
|
|
|
625c4b |
- Perl 5.20 rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.18-2
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Aug 07 2014 Petr Pisar <ppisar@redhat.com> - 2.18-1
|
|
|
625c4b |
- 2.18 bump
|
|
|
625c4b |
|
|
|
625c4b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17-2
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Mon Sep 02 2013 Petr Pisar <ppisar@redhat.com> - 2.17-1
|
|
|
625c4b |
- 2.17 bump
|
|
|
625c4b |
- License changed to (GPL+ or Artistic)
|
|
|
625c4b |
|
|
|
625c4b |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.16-3
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2.16-2
|
|
|
625c4b |
- Perl 5.18 rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Jun 20 2013 Petr Pisar <ppisar@redhat.com> - 2.16-1
|
|
|
625c4b |
- 2.16 bump
|
|
|
625c4b |
|
|
|
625c4b |
* Mon Apr 08 2013 Petr Pisar <ppisar@redhat.com> - 2.15-1
|
|
|
625c4b |
- 2.15 bump
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Apr 04 2013 Petr Pisar <ppisar@redhat.com> - 2.13-1
|
|
|
625c4b |
- 2.13 bump
|
|
|
625c4b |
|
|
|
625c4b |
* Wed Mar 27 2013 Petr Pisar <ppisar@redhat.com> - 2.10-1
|
|
|
625c4b |
- 2.10 bump
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-17
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-16
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 2.09-15
|
|
|
625c4b |
- Perl 5.16 rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-14
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.09-13
|
|
|
625c4b |
- Perl mass rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-12
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.09-11
|
|
|
625c4b |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
625c4b |
|
|
|
625c4b |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.09-10
|
|
|
625c4b |
- Mass rebuild with perl-5.12.0
|
|
|
625c4b |
|
|
|
625c4b |
* Fri Jan 15 2010 Stepan Kasal <skasal@redhat.com> - 2.09-9
|
|
|
625c4b |
- rebuild against perl 5.10.1
|
|
|
625c4b |
|
|
|
625c4b |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-8
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09-7
|
|
|
625c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.09-6.2
|
|
|
625c4b |
Rebuild for new perl
|
|
|
625c4b |
|
|
|
625c4b |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.09-5.2
|
|
|
625c4b |
- Autorebuild for GCC 4.3
|
|
|
625c4b |
|
|
|
625c4b |
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.09-4.2
|
|
|
625c4b |
- add BR: perl(Test::More)
|
|
|
625c4b |
|
|
|
625c4b |
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.09-4.1
|
|
|
625c4b |
- correct license tag
|
|
|
625c4b |
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Sep 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.09-4
|
|
|
625c4b |
- Rebuild for FC6.
|
|
|
625c4b |
|
|
|
625c4b |
* Mon Feb 20 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.09-3
|
|
|
625c4b |
- Rebuild for FC5 (perl 5.8.8).
|
|
|
625c4b |
|
|
|
625c4b |
* Mon Jan 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.09-2
|
|
|
625c4b |
- Applied two of the Ville's suggestions (#177166): trimmed down
|
|
|
625c4b |
the description to the first paragraph and added the file ANNOUNCE
|
|
|
625c4b |
as documentation.
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Aug 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.09-1
|
|
|
625c4b |
- Update to 2.09.
|
|
|
625c4b |
|
|
|
625c4b |
* Mon May 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.07-1
|
|
|
625c4b |
- Update to 2.07.
|
|
|
625c4b |
|
|
|
625c4b |
* Mon Apr 25 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.04-1
|
|
|
625c4b |
- Update to 2.04.
|
|
|
625c4b |
|
|
|
625c4b |
* Sun Apr 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.03-1
|
|
|
625c4b |
- Update to 2.03.
|
|
|
625c4b |
|
|
|
625c4b |
* Sun Apr 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.00-1
|
|
|
625c4b |
- Update to 2.00.
|
|
|
625c4b |
|
|
|
625c4b |
* Thu Apr 21 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-1
|
|
|
625c4b |
- First build.
|