|
|
|
@ -2,16 +2,20 @@
|
|
|
|
|
%global gem_name bson
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 4.3.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Ruby Implementation of the BSON specification
|
|
|
|
|
Version: 4.8.1
|
|
|
|
|
Release: 1%{?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 >= 1.9.3
|
|
|
|
|
BuildRequires: ruby-devel >= 2.3
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: rubygem(bigdecimal)
|
|
|
|
|
BuildRequires: rubygem(rspec)
|
|
|
|
|
# This package contains the binary extension originaly provided by bson_ext
|
|
|
|
@ -22,7 +26,7 @@ Provides: rubygem(bson_ext) = %{version}-%{release}
|
|
|
|
|
Obsoletes: rubygem-bson_ext < 4.1.1-1
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A full featured BSON specification implementation, in Ruby.
|
|
|
|
|
A fully featured BSON specification implementation in Ruby.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
@ -34,15 +38,11 @@ BuildArch: noarch
|
|
|
|
|
Documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
gem unpack %{SOURCE0}
|
|
|
|
|
|
|
|
|
|
%setup -q -D -T -n %{gem_name}-%{version}
|
|
|
|
|
|
|
|
|
|
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
|
|
|
|
%setup -q -n %{gem_name}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# Create the gem as gem install only works on a gem file
|
|
|
|
|
gem build %{gem_name}.gemspec
|
|
|
|
|
gem build ../%{gem_name}-%{version}.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,6 +82,17 @@ popd
|
|
|
|
|
%{gem_instdir}/spec
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Dec 12 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 4.8.1-1
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|