!2 Package upgrade
From: @houyingchao Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
8aefdd031d
@ -1,19 +0,0 @@
|
|||||||
From 9dd1e8d9ad0396a8c9092c2e9f17d498c58e0208 Mon Sep 17 00:00:00 2001
|
|
||||||
From: elifoster <elifosterwy@gmail.com>
|
|
||||||
Date: Tue, 5 Dec 2017 14:30:13 -0800
|
|
||||||
Subject: [PATCH] Fix uninitialized constant DateTime Close #80
|
|
||||||
|
|
||||||
---
|
|
||||||
lib/safe_yaml/parse/date.rb | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/lib/safe_yaml/parse/date.rb b/lib/safe_yaml/parse/date.rb
|
|
||||||
index cd3c62a..3a30a8b 100644
|
|
||||||
--- a/lib/safe_yaml/parse/date.rb
|
|
||||||
+++ b/lib/safe_yaml/parse/date.rb
|
|
||||||
@@ -1,3 +1,5 @@
|
|
||||||
+require 'time'
|
|
||||||
+
|
|
||||||
module SafeYAML
|
|
||||||
class Parse
|
|
||||||
class Date
|
|
||||||
@ -2,14 +2,13 @@
|
|||||||
%global enable_tests 0
|
%global enable_tests 0
|
||||||
Summary: Parse YAML safely
|
Summary: Parse YAML safely
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 1.0.4
|
Version: 1.0.5
|
||||||
Release: 1
|
Release: 1
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://dtao.github.com/safe_yaml/
|
URL: http://dtao.github.com/safe_yaml/
|
||||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||||
# Fix Ruby 2.5 compatibility.
|
# Fix Ruby 2.5 compatibility.
|
||||||
# https://github.com/dtao/safe_yaml/pull/90
|
# https://github.com/dtao/safe_yaml/pull/90
|
||||||
Patch0: rubygem-safe_yaml-1.0.4-Fix-uninitialized-constant-DateTime.patch
|
|
||||||
BuildRequires: ruby(release) rubygems-devel
|
BuildRequires: ruby(release) rubygems-devel
|
||||||
%if 0%{?enable_tests}
|
%if 0%{?enable_tests}
|
||||||
BuildRequires: rubygem(hashie) rubygem(rspec)
|
BuildRequires: rubygem(hashie) rubygem(rspec)
|
||||||
@ -32,7 +31,6 @@ Documentation for %{name}
|
|||||||
gem unpack %{SOURCE0}
|
gem unpack %{SOURCE0}
|
||||||
%setup -q -D -T -n %{gem_name}-%{version}
|
%setup -q -D -T -n %{gem_name}-%{version}
|
||||||
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
gem build %{gem_name}.gemspec
|
gem build %{gem_name}.gemspec
|
||||||
@ -74,5 +72,8 @@ popd
|
|||||||
%{gem_instdir}/spec
|
%{gem_instdir}/spec
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 30 2022 houyingchao <houyingchao@h-partners.com> - 1.0.5-1
|
||||||
|
- Upgrade to 1.0.5
|
||||||
|
|
||||||
* Wed Aug 19 2020 xiezheng <xiezheng4@huawei.com> - 1.0.4-1
|
* Wed Aug 19 2020 xiezheng <xiezheng4@huawei.com> - 1.0.4-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Binary file not shown.
BIN
safe_yaml-1.0.5.gem
Normal file
BIN
safe_yaml-1.0.5.gem
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user