Compare commits

...

No commits in common. "c8-stream-2.7" and "stream-ruby-2.5-rhel-8.9.0" have entirely different histories.

4 changed files with 15 additions and 21 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/bson-4.8.1.gem
SOURCES/bson-4.3.0.gem
/bson-4.3.0.gem

View File

@ -1 +1 @@
73769ba7daa6099e590b1e24e0e97eee1d7f7166 SOURCES/bson-4.8.1.gem
310b9272fe6ee260f1aa5593be6989da2138b9b7 bson-4.3.0.gem

View File

@ -2,20 +2,16 @@
%global gem_name bson
Name: rubygem-%{gem_name}
Version: 4.8.1
Release: 1%{?dist}
Summary: Ruby implementation of the BSON specification
Version: 4.3.0
Release: 2%{?dist}
Summary: Ruby Implementation of the BSON specification
License: ASL 2.0
# Keep the URL, while different URL is used in the upstream gemspec file.
# Because there is a basic explanation about the bson
# that is a beneficial for Fedora user.
URL: http://bsonspec.org
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
Requires: rubygem(bigdecimal)
BuildRequires: ruby(release)
BuildRequires: rubygems-devel >= 1.3.6
BuildRequires: ruby-devel >= 2.3
BuildRequires: gcc
BuildRequires: ruby-devel >= 1.9.3
BuildRequires: rubygem(bigdecimal)
BuildRequires: rubygem(rspec)
# This package contains the binary extension originaly provided by bson_ext
@ -26,7 +22,7 @@ Provides: rubygem(bson_ext) = %{version}-%{release}
Obsoletes: rubygem-bson_ext < 4.1.1-1
%description
A fully featured BSON specification implementation in Ruby.
A full featured BSON specification implementation, in Ruby.
%package doc
@ -38,11 +34,15 @@ BuildArch: noarch
Documentation for %{name}.
%prep
%setup -q -n %{gem_name}-%{version}
gem unpack %{SOURCE0}
%setup -q -D -T -n %{gem_name}-%{version}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%build
# Create the gem as gem install only works on a gem file
gem build ../%{gem_name}-%{version}.gemspec
gem build %{gem_name}.gemspec
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
# by default, so that we can move it into the buildroot in %%install
@ -82,14 +82,6 @@ popd
%{gem_instdir}/spec
%changelog
* Fri May 29 2020 Jun Aruga <jaruga@redhat.com> - 4.8.1-1
- Update to bson 4.8.1 by merging Fedora master branch (commit: 0741dbc)
Resolves: rhbz#1817135
* Wed Jun 12 2019 Jun Aruga <jaruga@redhat.com> - 4.5.0-1
- Update to bson 4.5.0 by merging Fedora master branch (commit: b2ff874)
Resolves: rhbz#1672575
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (bson-4.3.0.gem) = 6c90b70fc8f0df8eae1a05a1cd7c5a22c2c546bc55448fa1a936bddd24212ac50cf702cb377d227a65b1a7b9a5b8ffe007e3d357eb4c4188e4e873919bb26374