upgrade 1.1.1
Signed-off-by: cherry530 <xuping33@huawei.com> (cherry picked from commit f5f54b15076f85a6d3a159a50d0f0272bafde681)
This commit is contained in:
parent
9e4e57d041
commit
5214d727cb
Binary file not shown.
BIN
mustache-1.1.1.gem
Normal file
BIN
mustache-1.1.1.gem
Normal file
Binary file not shown.
@ -21,8 +21,8 @@ than the remaining test cases, because they are defining
|
|||||||
|
|
||||||
diff --git a/usr/share/gems/gems/mustache-1.0.2/test/autoloading_test.rb a/usr/share/gems/gems/mustache-1.0.2/test/autoloading_test.rb
|
diff --git a/usr/share/gems/gems/mustache-1.0.2/test/autoloading_test.rb a/usr/share/gems/gems/mustache-1.0.2/test/autoloading_test.rb
|
||||||
index 0a7ad762..77eb3557 100644
|
index 0a7ad762..77eb3557 100644
|
||||||
--- a/usr/share/gems/gems/mustache-1.0.2/test/autoloading_test.rb
|
--- a/test/autoloading_test.rb
|
||||||
+++ b/usr/share/gems/gems/mustache-1.0.2/test/autoloading_test.rb
|
+++ b/test/autoloading_test.rb
|
||||||
@@ -7,6 +7,10 @@ def setup
|
@@ -7,6 +7,10 @@ def setup
|
||||||
Mustache.view_path = File.dirname(__FILE__) + '/fixtures'
|
Mustache.view_path = File.dirname(__FILE__) + '/fixtures'
|
||||||
end
|
end
|
||||||
@ -1,13 +1,13 @@
|
|||||||
%global gem_name mustache
|
%global gem_name mustache
|
||||||
|
|
||||||
Name: rubygem-mustache
|
Name: rubygem-mustache
|
||||||
Version: 1.0.2
|
Version: 1.1.1
|
||||||
Release: 8
|
Release: 1
|
||||||
Summary: A framework-agnostic way to render logic-free views
|
Summary: A framework-agnostic way to render logic-free views
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/mustache/mustache
|
URL: https://github.com/mustache/mustache
|
||||||
Source0: https://rubygems.org/gems/mustache-%{version}.gem
|
Source0: https://rubygems.org/gems/mustache-%{version}.gem
|
||||||
Patch0: rubygem-mustache-1.0.2-Fix-test-race-condition.patch
|
Patch0: rubygem-mustache-1.1.1-Fix-test-race-condition.patch
|
||||||
BuildRequires: ruby(release) rubygems-devel ruby rubygem(minitest)
|
BuildRequires: ruby(release) rubygems-devel ruby rubygem(minitest)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -27,11 +27,13 @@ BuildArch: noarch
|
|||||||
Documentation for rubygem-mustache.
|
Documentation for rubygem-mustache.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -T
|
%setup -q -n %{gem_name}-%{version}
|
||||||
%gem_install -n %{SOURCE0}
|
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
gem build ../%{gem_name}-%{version}.gemspec
|
||||||
|
|
||||||
|
%gem_install
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d %{buildroot}%{gem_dir}
|
install -d %{buildroot}%{gem_dir}
|
||||||
@ -47,9 +49,7 @@ cp -a .%{gem_instdir}/man/*.html .
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
cd .%{gem_instdir}
|
cd .%{gem_instdir}
|
||||||
sed -r -i '/[Cc]ode[Cc]limate/ s/^/#/' test/helper.rb
|
sed -i '/simplecov/,/^end$/ s/^/#/' test/helper.rb
|
||||||
LANG=en_US.utf8 ruby -Ilib -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
|
|
||||||
cd -
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{gem_instdir}
|
%dir %{gem_instdir}
|
||||||
@ -70,6 +70,9 @@ cd -
|
|||||||
%{gem_instdir}/{Rakefile,test}
|
%{gem_instdir}/{Rakefile,test}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jan 30 2022 xu_ping <xuping33@huawei.com> - 1.1.1-1
|
||||||
|
- Upgrade 1.1.1
|
||||||
|
|
||||||
* Sat Jan 22 2022 liyanan <liyanan32@huawei.com> - 1.0.2-8
|
* Sat Jan 22 2022 liyanan <liyanan32@huawei.com> - 1.0.2-8
|
||||||
- Fix build error
|
- Fix build error
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user