[rubygem-mongoid] Updated to version 4.0.0

tdawson tdawson at fedoraproject.org
Mon Jul 7 15:03:47 UTC 2014


commit a8b500ecf5c0f7de6ae8349d6676eb8ce0a34840
Author: Troy Dawson <tdawson at redhat.com>
Date:   Mon Jul 7 10:03:56 2014 -0500

    Updated to version 4.0.0

 .gitignore           |    1 +
 rubygem-mongoid.spec |   14 +++++++++++---
 sources              |    2 +-
 3 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 83d8dd6..c66bf6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /mongoid-3.1.3.gem
 /mongoid-3.1.4.gem
 /mongoid-3.1.6.gem
+/mongoid-4.0.0.gem
diff --git a/rubygem-mongoid.spec b/rubygem-mongoid.spec
index 40fe739..02a75ff 100644
--- a/rubygem-mongoid.spec
+++ b/rubygem-mongoid.spec
@@ -3,12 +3,13 @@
 
 Summary:       Elegant Persistance in Ruby for MongoDB
 Name:          rubygem-%{gem_name}
-Version:       3.1.6
-Release:       2%{?dist}
+Version:       4.0.0
+Release:       1%{?dist}
 Group:         Development/Languages
 License:       MIT
 URL:           http://mongoid.org
 Source0:       https://rubygems.org/gems/%{gem_name}-%{version}.gem
+%if 0%{?fedora} >= 19 || 0%{?rhel} > 6
 Requires:      ruby(release)
 Requires:      rubygems
 Requires:      rubygem(activemodel) >= 3.2
@@ -16,6 +17,7 @@ Requires:      rubygem(tzinfo) >= 0.3.22
 Requires:      rubygem(moped) >= 1.4.2
 Requires:      rubygem(origin) >= 1.0
 BuildRequires: ruby(release)
+%endif
 BuildRequires: rubygems-devel
 BuildArch:     noarch
 Provides:      rubygem(%{gem_name}) = %{version}
@@ -53,7 +55,7 @@ cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/
 rm -rf %{buildroot}%{gem_instdir}/.yard*
 
 %files
-%doc %{gem_instdir}/[A-Z]*
+%doc %{gem_instdir}/LICENSE
 %dir %{gem_instdir}
 %{gem_libdir}
 %exclude %{gem_cache}
@@ -61,9 +63,15 @@ rm -rf %{buildroot}%{gem_instdir}/.yard*
 
 %files doc
 %doc %{gem_docdir}
+%doc %{gem_instdir}/CHANGELOG.md
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Rakefile
 %{gem_instdir}/spec
 
 %changelog
+* Mon Jul 07 2014 Troy Dawson <tdawson at redhat.com> - 4.0.0-1
+- Updated to version 4.0.0
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.1.6-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 4aaf062..4ae83a6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0873dc96d8a9056aaa56a2808de08999  mongoid-3.1.6.gem
+92d166663a9ca42fadbc05a92ae0837c  mongoid-4.0.0.gem


More information about the scm-commits mailing list