47fb90
Name:           perl-Compress-Raw-Bzip2
47fb90
Summary:        Low-level interface to bzip2 compression library
47fb90
Version:        2.074
47fb90
Release:        2%{?dist}
47fb90
License:        GPL+ or Artistic
47fb90
Group:          Development/Libraries
47fb90
URL:            http://search.cpan.org/dist/Compress-Raw-Bzip2/
47fb90
Source0:        http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-%{version}.tar.gz 
47fb90
# Module Build
47fb90
BuildRequires:  bzip2-devel
47fb90
BuildRequires:  coreutils
47fb90
BuildRequires:  findutils
47fb90
BuildRequires:  gcc
47fb90
BuildRequires:  make
47fb90
BuildRequires:  perl
47fb90
BuildRequires:  perl-devel
47fb90
BuildRequires:  perl-generators
47fb90
BuildRequires:  perl(Config)
47fb90
BuildRequires:  perl(ExtUtils::Constant)
47fb90
BuildRequires:  perl(ExtUtils::MakeMaker) >= 5.16
47fb90
BuildRequires:  perl(File::Copy)
47fb90
BuildRequires:  perl(File::Spec::Functions)
47fb90
BuildRequires:  perl(lib)
47fb90
# Module Runtime
47fb90
BuildRequires:  perl(bytes)
47fb90
BuildRequires:  perl(Carp)
47fb90
BuildRequires:  perl(constant)
47fb90
BuildRequires:  perl(Exporter)
47fb90
BuildRequires:  perl(strict)
47fb90
BuildRequires:  perl(warnings)
47fb90
BuildRequires:  perl(XSLoader)
47fb90
# Test Suite
47fb90
BuildRequires:  perl(File::Path)
47fb90
BuildRequires:  perl(File::Temp)
47fb90
BuildRequires:  perl(overload)
47fb90
BuildRequires:  perl(Scalar::Util)
47fb90
# Dual-lived module needs rebuilding early in the boot process
47fb90
%if !%{defined perl_bootstrap}
47fb90
BuildRequires:  perl(Test::NoWarnings)
47fb90
BuildRequires:  perl(Test::Pod) >= 1.00
47fb90
%endif
47fb90
BuildRequires:  perl(threads::shared)
47fb90
# Runtime
47fb90
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
47fb90
Requires:       perl(XSLoader)
47fb90
47fb90
# Don't "provide" private Perl libs
47fb90
%{?perl_default_filter}
47fb90
47fb90
%description
47fb90
This module provides a Perl interface to the bzip2 compression library.
47fb90
It is used by IO::Compress::Bzip2.
47fb90
47fb90
%prep
47fb90
%setup -q -n Compress-Raw-Bzip2-%{version}
47fb90
47fb90
%build
47fb90
BUILD_BZIP2=0
47fb90
BZIP2_LIB=%{_libdir}
47fb90
export BUILD_BZIP2 BZIP2_LIB
47fb90
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
47fb90
make %{?_smp_mflags}
47fb90
47fb90
%install
47fb90
make pure_install DESTDIR=%{buildroot}
47fb90
find %{buildroot} -type f -name .packlist -delete
47fb90
find %{buildroot} -type f -name '*.bs' -empty -delete
47fb90
%{_fixperms} -c %{buildroot}
47fb90
47fb90
%check
47fb90
make test
47fb90
47fb90
%files
47fb90
%doc Changes README
47fb90
%{perl_vendorarch}/auto/Compress/
47fb90
%{perl_vendorarch}/Compress/
47fb90
%{_mandir}/man3/Compress::Raw::Bzip2.3*
47fb90
47fb90
%changelog
47fb90
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.074-2
47fb90
- Rebuild with enable hardening (bug #1636329)
47fb90
47fb90
* Mon Feb 20 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.074-1
47fb90
- 2.074 bump
47fb90
47fb90
* Mon Feb 13 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.072-1
47fb90
- 2.072 bump
47fb90
47fb90
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.070-2
47fb90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
47fb90
47fb90
* Thu Dec 29 2016 Paul Howarth <paul@city-fan.org> - 2.070-1
47fb90
- Update to 2.070
47fb90
  - Fix wrong APPEND_OUTPUT logic (CPAN RT#119005, CPAN RT#119141)
47fb90
  - Fix some gcc warnings (CPAN RT#100817, CPAN RT#105647)
47fb90
- Simplify find commands using -empty and -delete
47fb90
47fb90
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.069-366
47fb90
- Perl 5.24 re-rebuild of bootstrapped packages
47fb90
47fb90
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.069-365
47fb90
- Increase release to favour standalone package
47fb90
47fb90
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.069-2
47fb90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
47fb90
47fb90
* Sun Sep 27 2015 Paul Howarth <paul@city-fan.org> - 2.069-1
47fb90
- Update to 2.069
47fb90
  - Reduce compiler warnings and stderr noise (CPAN RT#101340)
47fb90
  - consting misc tables (CPAN RT#101296)
47fb90
47fb90
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.068-347
47fb90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
47fb90
47fb90
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.068-346
47fb90
- Perl 5.22 re-rebuild of bootstrapped packages
47fb90
47fb90
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.068-345
47fb90
- Increase release to favour standalone package
47fb90
47fb90
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.068-2
47fb90
- Perl 5.22 rebuild
47fb90
47fb90
* Wed Dec 24 2014 Paul Howarth <paul@city-fan.org> - 2.068-1
47fb90
- Update to 2.068 (no changes)
47fb90
47fb90
* Tue Dec  9 2014 Paul Howarth <paul@city-fan.org> - 2.067-1
47fb90
- Update to 2.067 (silence compiler warnings)
47fb90
- Classify buildreqs by usage
47fb90
47fb90
* Mon Sep 22 2014 Paul Howarth <paul@city-fan.org> - 2.066-1
47fb90
- Update to 2.066 (no changes)
47fb90
47fb90
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.064-311
47fb90
- Perl 5.20 re-rebuild of bootstrapped packages
47fb90
47fb90
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.064-310
47fb90
- Increase release to favour standalone package
47fb90
47fb90
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.064-4
47fb90
- Perl 5.20 rebuild
47fb90
47fb90
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.064-3
47fb90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
47fb90
47fb90
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.064-2
47fb90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
47fb90
47fb90
* Sun Feb  2 2014 Paul Howarth <paul@city-fan.org> - 2.064-1
47fb90
- Update to 2.064
47fb90
  - Handle non-PVs better (CPAN RT#91558)
47fb90
47fb90
* Sun Nov  3 2013 Paul Howarth <paul@city-fan.org> - 2.063-1
47fb90
- Update to 2.063
47fb90
  - gcc -g3: final link failed: Memory exhausted (CPAN RT#88936)
47fb90
47fb90
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.062-2
47fb90
- Perl 5.18 re-rebuild of bootstrapped packages
47fb90
47fb90
* Mon Aug 12 2013 Paul Howarth <paul@city-fan.org> - 2.062-1
47fb90
- Update to 2.062 (no changes)
47fb90
47fb90
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.061-3
47fb90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
47fb90
47fb90
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.061-2
47fb90
- Perl 5.18 rebuild
47fb90
47fb90
* Mon May 27 2013 Paul Howarth <paul@city-fan.org> - 2.061-1
47fb90
- Update to 2.061
47fb90
  - Silence compiler warning by making 2nd parameter to DispStream a const char*
47fb90
47fb90
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.060-2
47fb90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
47fb90
47fb90
* Tue Jan  8 2013 Paul Howarth <paul@city-fan.org> - 2.060-1
47fb90
- Update to 2.060 (no changes)
47fb90
47fb90
* Sun Nov 25 2012 Paul Howarth <paul@city-fan.org> - 2.059-1
47fb90
- Update to 2.059
47fb90
  - Copy-on-write support (CPAN RT#81352)
47fb90
47fb90
* Tue Nov 13 2012 Paul Howarth <paul@city-fan.org> - 2.058-1
47fb90
- Update to 2.058
47fb90
  - Compress::Raw::Bzip2 needs to use PERL_NO_GET_CONTEXT (CPAN RT#80318)
47fb90
  - Install to 'site' instead of 'perl' when perl version is 5.11+
47fb90
    (CPAN RT#79811)
47fb90
  - Update to ppport.h that includes SvPV_nomg_nolen (CPAN RT#78080)
47fb90
47fb90
* Mon Aug  6 2012 Paul Howarth <paul@city-fan.org> - 2.055-1
47fb90
- Update to 2.055
47fb90
  - Fix misuse of magic in API (CPAN RT#78080)
47fb90
- Drop redundant explicit requires for perl(Exporter) and perl(File::Temp)
47fb90
47fb90
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.052-5
47fb90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
47fb90
47fb90
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 2.052-4
47fb90
- Perl 5.16 re-rebuild of bootstrapped packages
47fb90
47fb90
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 2.052-3
47fb90
- Perl 5.16 rebuild
47fb90
47fb90
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 2.052-2
47fb90
- Omit optional Test::Pod tests on bootstrap
47fb90
47fb90
* Sun Apr 29 2012 Paul Howarth <paul@city-fan.org> - 2.052-1
47fb90
- Update to 2.052 (no changes)
47fb90
- Don't need to remove empty directories from buildroot
47fb90
47fb90
* Sat Feb 18 2012 Paul Howarth <paul@city-fan.org> - 2.049-1
47fb90
- Update to 2.049 (no changes)
47fb90
47fb90
* Sun Jan 29 2012 Paul Howarth <paul@city-fan.org> - 2.048-1
47fb90
- Update to 2.048 (set minimum Perl version to 5.6)
47fb90
- Don't use macros for commands
47fb90
47fb90
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 2.045-2
47fb90
- Rebuild for gcc 4.7 in Rawhide
47fb90
47fb90
* Sun Dec  4 2011 Paul Howarth <paul@city-fan.org> - 2.045-1
47fb90
- Update to 2.045
47fb90
  - Moved FAQ.pod to IO::Compress
47fb90
47fb90
* Sun Dec  4 2011 Paul Howarth <paul@city-fan.org> - 2.044-1
47fb90
- Update to 2.044
47fb90
  - Moved FAQ.pod under the lib directory so it can get installed
47fb90
47fb90
* Mon Nov 21 2011 Paul Howarth <paul@city-fan.org> - 2.043-1
47fb90
- Update to 2.043 (no changes)
47fb90
47fb90
* Fri Nov 18 2011 Paul Howarth <paul@city-fan.org> - 2.042-1
47fb90
- Update to 2.042 (no changes)
47fb90
47fb90
* Sat Oct 29 2011 Paul Howarth <paul@city-fan.org> - 2.040-1
47fb90
- Update to 2.040
47fb90
  - Croak if attempt to freeze/thaw compression object (CPAN RT#69985)
47fb90
- BR: perl(Carp)
47fb90
47fb90
* Thu Jul 28 2011 Karsten Hopp <karsten@redhat.com> 2.037-3
47fb90
- Bump and rebuild, got compiled with old perl on ppc
47fb90
47fb90
* Wed Jun 22 2011 Paul Howarth <paul@city-fan.org> - 2.037-2
47fb90
- Perl mass rebuild
47fb90
47fb90
* Wed Jun 22 2011 Paul Howarth <paul@city-fan.org> - 2.037-1
47fb90
- Update to 2.037 (no changes)
47fb90
47fb90
* Mon Jun 20 2011 Paul Howarth <paul@city-fan.org> - 2.036-2
47fb90
- Perl mass rebuild
47fb90
47fb90
* Mon Jun 20 2011 Petr Sabata <contyk@redhat.com> - 2.036-1
47fb90
- 2.036 bump (no changes)
47fb90
47fb90
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.035-3
47fb90
- Perl mass rebuild
47fb90
47fb90
* Fri Jun 17 2011 Paul Howarth <paul@city-fan.org> - 2.035-2
47fb90
- Perl mass rebuild
47fb90
47fb90
* Sat May  7 2011 Paul Howarth <paul@city-fan.org> - 2.035-1
47fb90
- Update to 2.035 (no changes)
47fb90
47fb90
* Tue May  3 2011 Petr Sabata <psabata@redhat.com> - 2.034-1
47fb90
- 2.034 bump
47fb90
- Buildroot cleanup, defattr cleanup
47fb90
- Correcting BRs/Rs
47fb90
47fb90
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.033-2
47fb90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
47fb90
47fb90
* Thu Jan 13 2011 Paul Howarth <paul@city-fan.org> - 2.033-1
47fb90
- Update to 2.033 (fixed typos and spelling errors - Perl RT#81782)
47fb90
47fb90
* Fri Jan 07 2011 Petr Pisar <ppisar@redhat.com> - 2.032-1
47fb90
- 2.032 bump
47fb90
47fb90
* Wed Sep 29 2010 jkeating - 2.031-2
47fb90
- Rebuilt for gcc bug 634757
47fb90
47fb90
* Thu Sep 23 2010 Petr Pisar <ppisar@redhat.com> - 2.031-1
47fb90
- 2.031 bump
47fb90
47fb90
* Mon Jul 26 2010 Petr Sabata <psabata@redhat.com> - 2.030-1
47fb90
- 2.030 version bump
47fb90
47fb90
* Thu May  6 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.027-1
47fb90
- update
47fb90
 
47fb90
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.026-2
47fb90
- Mass rebuild with perl-5.12.0
47fb90
47fb90
* Sat Apr 10 2010 Chris Weyl <cweyl@alumni.drew.edu> 2.026-1
47fb90
- PERL_INSTALL_ROOT => DESTDIR, use _fixperms incantation
47fb90
- add perl_default_filter (XS package)
47fb90
- update by Fedora::App::MaintainerTools 0.006
47fb90
- updating to latest GA CPAN version (2.026)
47fb90
47fb90
* Fri Jan 15 2010 Stepan Kasal <skasal@redhat.com> - 2.020-2
47fb90
- rebuild against perl 5.10.1
47fb90
47fb90
* Mon Jul 27 2009 Marcela Mašláňová <mmaslano@redhat.com> - 2.020-1
47fb90
- update
47fb90
47fb90
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.005-7
47fb90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
47fb90
47fb90
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.005-6
47fb90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
47fb90
47fb90
* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.005-5
47fb90
- rebuild for new perl
47fb90
47fb90
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.005-4
47fb90
- Autorebuild for GCC 4.3
47fb90
47fb90
* Fri Aug 24 2007 Robin Norwood <rnorwood@redhat.com> - 2.005-3
47fb90
- Update license tag.
47fb90
47fb90
* Tue Jul 17 2007 Robin Norwood <rnorwood@redhat.com> - 2.005-2
47fb90
- Bump release to beat F-7 version
47fb90
47fb90
* Sun Jul 01 2007 Steven Pritchard <steve@kspei.com> 2.005-1
47fb90
- Update to 2.005.
47fb90
- Build against system libbz2 (#246401).
47fb90
47fb90
* Tue Jun 05 2007 Robin Norwood <rnorwood@redhat.com> - 2.004-1
47fb90
- Initial build from CPAN