[perl-MongoDB] Update to 0.702.1

李瑞彬 cheeselee at fedoraproject.org
Fri Aug 16 16:28:18 UTC 2013


commit 981945f42a8491a209904f2be7f9865fe1bd483a
Author: Robin Lee <cheeselee at fedoraproject.org>
Date:   Sat Aug 17 00:26:53 2013 +0800

    Update to 0.702.1
    
    - ExcludeArch arm (BZ#997975)
    - Make sure mongodb server is killed after tests
    - Summary revised

 .gitignore        |    1 +
 perl-MongoDB.spec |   20 ++++++++++++++------
 sources           |    2 +-
 3 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 41e766d..20dde6b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /MongoDB-0.503.3.tar.gz
 /MongoDB-0.700.0.tar.gz
 /MongoDB-0.702.0.tar.gz
+/MongoDB-0.702.1.tar.gz
diff --git a/perl-MongoDB.spec b/perl-MongoDB.spec
index c646cf1..bb9ca68 100644
--- a/perl-MongoDB.spec
+++ b/perl-MongoDB.spec
@@ -1,9 +1,9 @@
 %{?perl_default_filter}
 
 Name:           perl-MongoDB
-Version:        0.702.0
-Release:        2%{?dist}
-Summary:        Database driver
+Version:        0.702.1
+Release:        1%{?dist}
+Summary:        A MongoDB Driver for Perl
 License:        ASL 2.0
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/MongoDB/
@@ -21,7 +21,6 @@ BuildRequires:  perl(Tie::IxHash)
 BuildRequires:  perl(DateTime)
 BuildRequires:  perl(XSLoader)
 BuildRequires:  perl(boolean)
-BuildRequires:  /usr/bin/perldoc
 #  test requires
 BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::Warn)
@@ -36,7 +35,8 @@ BuildRequires:  mongodb-server
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 # Mongodb must run on a little-endian CPU (see bug #630898)
-ExcludeArch:    ppc ppc64 %{sparc} s390 s390x
+# And this module does not work with default optflags on ARM (see bug #997975)
+ExcludeArch:    ppc ppc64 %{sparc} s390 s390x %{arm}
 
 %description
 The perl database access module for MongoDB.
@@ -60,8 +60,10 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 mkdir test_db
 mongod --fork --logpath $PWD/mongod.log --pidfilepath $PWD/mongod.pid --dbpath $PWD/test_db/
-make test
+make test || test_rc=$?
 kill `cat mongod.pid`
+cat mongod.log
+exit $test_rc
 
 %files
 %doc Changes CONTRIBUTING.md LICENSE README
@@ -70,6 +72,12 @@ kill `cat mongod.pid`
 %{_mandir}/man3/*
 
 %changelog
+* Tue Aug 13 2013 Robin Lee <cheeselee at fedoraproject.org> - 0.702.1-1
+- Update to 0.702.1
+- ExcludeArch arm (BZ#997975)
+- Make sure mongodb server is killed after tests
+- Summary revised
+
 * Sun Aug 04 2013 Petr Pisar <ppisar at redhat.com> - 0.702.0-2
 - Perl 5.18 rebuild
 
diff --git a/sources b/sources
index 30bef10..d65039d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-792d77ba1059e6b9ccdd8418652d03d0  MongoDB-0.702.0.tar.gz
+d116d873ba8c6084280676690d9b22bd  MongoDB-0.702.1.tar.gz


More information about the scm-commits mailing list