!15 [sync] PR-11: Update to 1.4.3 for fix CVE-2022-24795
From: @openeuler-sync-bot Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
2570457d77
@ -1,12 +1,12 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
%global gem_name yajl-ruby
|
||||
Name: rubygem-yajl-ruby
|
||||
Version: 1.4.1
|
||||
Release: 2
|
||||
Version: 1.4.3
|
||||
Release: 1
|
||||
Summary: Ruby C bindings to the excellent Yajl JSON stream-based parser library.
|
||||
License: MIT
|
||||
URL: http://github.com/brianmario/yajl-ruby
|
||||
Source0: https://rubygems.org/gems/yajl-ruby-1.4.1.gem
|
||||
Source0: https://rubygems.org/gems/yajl-ruby-%{version}.gem
|
||||
|
||||
BuildRequires: ruby rsync
|
||||
BuildRequires: ruby-devel
|
||||
@ -28,7 +28,7 @@ BuildArch: noarch
|
||||
Ruby C bindings to the excellent Yajl JSON stream-based parser library.
|
||||
|
||||
%prep
|
||||
%autosetup -n yajl-ruby-1.4.1
|
||||
%autosetup -n yajl-ruby-%{version}
|
||||
gem spec %{SOURCE0} -l --ruby > yajl-ruby.gemspec
|
||||
|
||||
%build
|
||||
@ -53,7 +53,7 @@ fi
|
||||
cp -a .%{gem_extdir_mri}/gem.build_complete %{buildroot}%{gem_extdir_mri}/
|
||||
rm -rf %{buildroot}%{gem_instdir}/ext/
|
||||
fi
|
||||
rm -rf %{buildroot}%{gem_instdir}/{.codeclimate.yml,.gitignore,.rspec,.travis.yml}
|
||||
rm -rf %{buildroot}%{gem_instdir}/{.codeclimate.yml,.gitignore,.rspec,.travis.yml,.github}
|
||||
pushd %{buildroot}
|
||||
touch filelist.lst
|
||||
if [ -d %{buildroot}%{_bindir} ]; then
|
||||
@ -73,6 +73,9 @@ mv %{buildroot}/filelist.lst .
|
||||
%{gem_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 11 2022 wangkai <wangkai385@h-partners.com> - 1.4.3-1
|
||||
- Update to 1.4.3 for fix CVE-2022-24795
|
||||
|
||||
* Wed Aug 25 2021 wutao <wutao61@huawei.com> - 1.4.1-2
|
||||
- Move .so file from /usr/lib64/gems/ruby/yajl-ruby-1.4.1/yajl-ruby/
|
||||
to /usr/lib64/gems/ruby/yajl-ruby-1.4.1/yajl/ to solve fluentd loaderror problem
|
||||
|
||||
Binary file not shown.
BIN
yajl-ruby-1.4.3.gem
Normal file
BIN
yajl-ruby-1.4.3.gem
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user