Compare commits

...

No commits in common. "c8-stream-2.7" and "c8-beta-stream-2.6" have entirely different histories.

3 changed files with 12 additions and 15 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/bson-4.8.1.gem
SOURCES/bson-4.5.0.gem

View File

@ -1 +1 @@
73769ba7daa6099e590b1e24e0e97eee1d7f7166 SOURCES/bson-4.8.1.gem
108604eff68e763066fd214746ed3eefc7e7a10f SOURCES/bson-4.5.0.gem

View File

@ -2,19 +2,16 @@
%global gem_name bson
Name: rubygem-%{gem_name}
Version: 4.8.1
Version: 4.5.0
Release: 1%{?dist}
Summary: Ruby implementation of the BSON specification
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: ruby-devel >= 1.9.3
BuildRequires: gcc
BuildRequires: rubygem(bigdecimal)
BuildRequires: rubygem(rspec)
@ -26,7 +23,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 +35,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,10 +83,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