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

View File

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