import rubygem-mongo-2.5.1-2.module+el8.0.0+3250+4b7d6d43

This commit is contained in:
CentOS Sources 2019-07-30 07:19:15 -04:00 committed by Andrew Lukoshko
parent 57861e8ef0
commit 8924f0ee36
1 changed files with 10 additions and 4 deletions

View File

@ -1,11 +1,11 @@
%global gem_name mongo
# mongodb is not stable on rawhide and crashes during test
# renable test once mongodb is stable again
%global enable_tests 1
# Disable tests as MongoDB was dropped from RHEL because of a licensing issue.
# https://bugzilla.redhat.com/show_bug.cgi?id=1710863
%global enable_tests 0
Name: rubygem-%{gem_name}
Version: 2.5.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Ruby driver for MongoDB
License: ASL 2.0
URL: http://www.mongodb.org
@ -13,10 +13,12 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby
%if 0%{?enable_tests}
# For running the tests
BuildRequires: %{_bindir}/mongod
BuildRequires: rubygem(bson) >= 4.3.0
BuildRequires: rubygem(rspec)
%endif
BuildArch: noarch
%description
@ -98,6 +100,10 @@ popd
%{gem_instdir}/spec
%changelog
* Thu May 16 2019 Jun Aruga <jaruga@redhat.com> - 2.5.1-2
- Disable tests to fix FTBFS by dropped MongoDB module.
Resolves: rhbz#1710863
* Fri Feb 23 2018 Jun Aruga <jaruga@redhat.com> - 2.5.1-1
- Update to mongo 2.5.1.