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