[perl-MongoDB] Update to 0.503.3
cheeselee
cheeselee at fedoraproject.org
Thu Jan 24 06:54:31 UTC 2013
commit b1a9c36874329822a19113d9fdab71af0137bd24
Author: Robin Lee <cheeselee at fedoraproject.org>
Date: Thu Jan 24 14:54:13 2013 +0800
Update to 0.503.3
- Enable SSL support
.gitignore | 1 +
perl-MongoDB.spec | 23 ++++++++++++++++++-----
sources | 2 +-
3 files changed, 20 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b607d2f..49aec6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/MongoDB-0.41.tar.gz
/MongoDB-0.44.tar.gz
/MongoDB-0.45.tar.gz
+/MongoDB-0.503.3.tar.gz
diff --git a/perl-MongoDB.spec b/perl-MongoDB.spec
index da606ac..6f5e662 100644
--- a/perl-MongoDB.spec
+++ b/perl-MongoDB.spec
@@ -1,16 +1,19 @@
%{?perl_default_filter}
Name: perl-MongoDB
-Version: 0.45
-Release: 5%{?dist}
+Version: 0.503.3
+Release: 1%{?dist}
Summary: Database driver
-License: ASL 2.0
+License: ASL 2.0
Group: Development/Libraries
URL: http://search.cpan.org/dist/MongoDB/
Source0: http://www.cpan.org/authors/id/K/KR/KRISTINA/MongoDB-%{version}.tar.gz
-BuildRequires: perl >= 1:5.8.4
+BuildRequires: perl >= 1:5.10.0
+BuildRequires: openssl-devel
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Module::Install)
BuildRequires: perl(Any::Moose)
+BuildRequires: perl(Moose)
BuildRequires: perl(Class::Method::Modifiers)
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Tie::IxHash)
@@ -19,12 +22,14 @@ BuildRequires: perl(XSLoader)
BuildRequires: perl(boolean)
# test requires
BuildRequires: perl(Test::Exception)
+BuildRequires: perl(Test::Warn)
BuildRequires: perl(Data::Types)
BuildRequires: perl(File::Slurp)
BuildRequires: perl(FileHandle)
BuildRequires: perl(JSON)
BuildRequires: perl(File::Temp) >= 0.17
BuildRequires: perl(Try::Tiny)
+BuildRequires: perl(DateTime::Tiny)
BuildRequires: mongodb-server
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -37,8 +42,12 @@ The perl database access module for MongoDB.
%prep
%setup -q -n MongoDB-%{version}
+# upstream missed inc::Module::Install::Compiler
+# https://github.com/mongodb/mongo-perl-driver/pull/54
+cp %{perl_vendorlib}/Module/Install/Compiler.pm inc/Module/Install
+
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL --ssl INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
@@ -63,6 +72,10 @@ kill `cat mongod.pid`
%{_mandir}/man3/*
%changelog
+* Thu Jan 24 2013 Robin Lee <cheeselee at fedoraproject.org> - 0.503.3-1
+- Update to 0.503.3
+- Enable SSL support
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.45-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/sources b/sources
index 1a0ae0f..64e370b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-087049f2f4a963f929ab69e0c806cff2 MongoDB-0.45.tar.gz
+04cd8124e9bc52984847b4d4cc06e39a MongoDB-0.503.3.tar.gz
More information about the scm-commits
mailing list