Name: perl-BSON Version: 1.4.0 Release: 4%{?dist} Summary: BSON serialization and deserialization License: ASL 2.0 URL: http://search.cpan.org/dist/BSON/ Source0: http://www.cpan.org/authors/id/M/MO/MONGODB/BSON-v%{version}.tar.gz BuildArch: noarch BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(:VERSION) >= 5.10.1 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(B) BuildRequires: perl(base) BuildRequires: perl(boolean) >= 0.45 BuildRequires: perl(Carp) BuildRequires: perl(Config) BuildRequires: perl(constant) BuildRequires: perl(DateTime) BuildRequires: perl(DateTime::Tiny) BuildRequires: perl(Digest::MD5) BuildRequires: perl(Exporter) BuildRequires: perl(if) # Mango::BSON::Time not yet packaged # Math::BigFloat not used because our perl has use64bitint=1 BuildRequires: perl(Math::BigInt) BuildRequires: perl(MIME::Base64) BuildRequires: perl(Moo) >= 2.002004 BuildRequires: perl(namespace::clean) BuildRequires: perl(overload) BuildRequires: perl(re) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Sys::Hostname) BuildRequires: perl(threads::shared) BuildRequires: perl(Tie::IxHash) BuildRequires: perl(Time::HiRes) BuildRequires: perl(Time::Local) BuildRequires: perl(Time::Moment) BuildRequires: perl(version) # Tests: BuildRequires: perl(Data::Dumper) BuildRequires: perl(File::Spec) BuildRequires: perl(JSON::MaybeXS) BuildRequires: perl(lib) BuildRequires: perl(Path::Tiny) >= 0.054 BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 0.96 # threads not used BuildRequires: perl(utf8) # Optional tests: BuildRequires: perl(Math::Int64) %if !%{defined perl_bootstrap} # Build cycle: perl-MongoDB → perl-BSON BuildRequires: perl(MongoDB) BuildRequires: perl(MongoDB::BSON::_EncodedDoc) BuildRequires: perl(MongoDB::BSON::Binary) BuildRequires: perl(MongoDB::BSON::Regexp) BuildRequires: perl(MongoDB::Code) BuildRequires: perl(MongoDB::DBRef) >= 1.0.0 BuildRequires: perl(MongoDB::OID) BuildRequires: perl(MongoDB::Timestamp) %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(DateTime) Requires: perl(DateTime::Tiny) # Keep Mango::BSON::Time optional. It's yet another MongoDB client # implementation and BSON calls it only as a handy convertor into Mango object. Suggests: perl(Mango::BSON::Time) Requires: perl(re) Requires: perl(Time::Local) Requires: perl(Time::Moment) %description This Perl class implements a BSON encoder and decoder. It consumes documents (typically hash references) and emits BSON strings and vice versa in accordance with the BSON specification . %prep %setup -q -n BSON-v%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE # devel directory contains obsoleted or not yet valid documentation %doc Changes CONTRIBUTING.mkdn README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Jul 27 2017 Fedora Release Engineering - 1.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jun 07 2017 Jitka Plesnikova - 1.4.0-3 - Perl 5.26 re-rebuild of bootstrapped packages * Tue Jun 06 2017 Jitka Plesnikova - 1.4.0-2 - Perl 5.26 rebuild * Fri Mar 17 2017 Petr Pisar - 1.4.0-1 - 1.4.0 bump * Fri Feb 24 2017 Petr Pisar - 1.2.2-3 - Fix constructing BSON::Time objects on 32-bit perl (bug #1401448) * Sat Feb 11 2017 Fedora Release Engineering - 1.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Dec 01 2016 Petr Pisar 1.2.2-1 - Specfile autogenerated by cpanspec 1.78.