commit
4786a6a833
Binary file not shown.
BIN
multi_json-1.14.1.gem
Normal file
BIN
multi_json-1.14.1.gem
Normal file
Binary file not shown.
BIN
multi_json-1.14.1.tar.gz
Normal file
BIN
multi_json-1.14.1.tar.gz
Normal file
Binary file not shown.
@ -1,28 +1,49 @@
|
|||||||
|
%global pkg_name %{name}
|
||||||
%global gem_name multi_json
|
%global gem_name multi_json
|
||||||
|
|
||||||
|
Summary: A gem to provide swappable JSON backends
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 1.13.1
|
Version: 1.14.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: A common interface to multiple JSON libraries
|
Group: Development/Languages
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://github.com/intridea/multi_json
|
URL: https://github.com/intridea/multi_json
|
||||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||||
# git clone https://github.com/intridea/multi_json.git && cd multi_json
|
|
||||||
# git checkout v1.13.1 && tar czvf multi_json-1.13.1-tests.tgz ./spec/
|
|
||||||
Source1: %{gem_name}-%{version}-tests.tgz
|
Source1: %{gem_name}-%{version}-tests.tgz
|
||||||
BuildRequires: ruby(release) rubygems-devel >= 1.3.5 ruby rubygem(rspec) rubygem(json_pure)
|
Source2: https://github.com/intridea/%{gem_name}/archive/refs/tags/%{gem_name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
Requires: ruby(release)
|
||||||
|
BuildRequires: ruby(release)
|
||||||
|
|
||||||
|
Requires: ruby(rubygems)
|
||||||
|
Requires: ruby
|
||||||
|
|
||||||
|
BuildRequires: rubygems-devel
|
||||||
|
BuildRequires: ruby
|
||||||
|
BuildRequires: rubygem(rspec)
|
||||||
|
BuildRequires: rubygem(json_pure)
|
||||||
|
BuildRequires: ruby(rubygems)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Provides: bundled(okjson) = 45
|
Provides: rubygem(%{gem_name}) = %{version}
|
||||||
|
|
||||||
|
# OkJson is allowed to be bundled:
|
||||||
|
Provides: bundled(okjson) = 20110719
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A common interface to multiple JSON libraries, including Oj, Yajl, the JSON
|
A gem to provide swappable JSON backends utilizing Yajl::Ruby, the JSON gem,
|
||||||
gem (with C-extensions), the pure-Ruby JSON gem, NSJSONSerialization, gson.rb,
|
JSON pure, or a vendored version of okjson.
|
||||||
JrJackson, and OkJson.
|
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{pkg_name}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Group: Documentation
|
||||||
|
Requires: %{pkg_name} = %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Documentation for %{name}.
|
Documentation for %{pkg_name}
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -T
|
%setup -q -c -T
|
||||||
@ -49,7 +70,8 @@ popd
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{gem_instdir}
|
%dir %{gem_instdir}
|
||||||
%license %{gem_instdir}/LICENSE.md
|
%exclude %{gem_instdir}/.*
|
||||||
|
%doc %{gem_instdir}/LICENSE.md
|
||||||
%{gem_libdir}
|
%{gem_libdir}
|
||||||
%exclude %{gem_cache}
|
%exclude %{gem_cache}
|
||||||
%{gem_spec}
|
%{gem_spec}
|
||||||
@ -58,8 +80,13 @@ popd
|
|||||||
%doc %{gem_docdir}
|
%doc %{gem_docdir}
|
||||||
%doc %{gem_instdir}/CHANGELOG.md
|
%doc %{gem_instdir}/CHANGELOG.md
|
||||||
%doc %{gem_instdir}/CONTRIBUTING.md
|
%doc %{gem_instdir}/CONTRIBUTING.md
|
||||||
|
%doc %{gem_instdir}/LICENSE.md
|
||||||
%doc %{gem_instdir}/README.md
|
%doc %{gem_instdir}/README.md
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 07 2021 jiangxinyu <jiangxinyu@kylinos.cn> - 1.14.1-1
|
||||||
|
- Update version to 1.14.1
|
||||||
|
|
||||||
* Sat Aug 22 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.13.1-1
|
* Sat Aug 22 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.13.1-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user