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