!4 [sync] PR-2: Update to haml 5.2.2
From: @openeuler-sync-bot Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
8c51e3552f
BIN
haml-5.0.4.gem
BIN
haml-5.0.4.gem
Binary file not shown.
BIN
haml-5.2.2-tests.txz
Normal file
BIN
haml-5.2.2-tests.txz
Normal file
Binary file not shown.
BIN
haml-5.2.2.gem
Normal file
BIN
haml-5.2.2.gem
Normal file
Binary file not shown.
@ -1,12 +1,14 @@
|
|||||||
%global gem_name haml
|
%global gem_name haml
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 5.0.4
|
Version: 5.2.2
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: An elegant, structured (X)HTML/XML templating engine
|
Summary: An elegant, structured (X)HTML/XML templating engine
|
||||||
License: MIT and WTFPL
|
License: MIT and WTFPL
|
||||||
URL: http://haml.info/
|
URL: http://haml.info/
|
||||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||||
Source1: https://github.com/%{gem_name}/%{gem_name}/archive/v%{version}.tar.gz
|
# git clone --no-checkout https://github.com/haml/haml.git
|
||||||
|
# git -C haml archive -v -o haml-5.2.2-tests.txz v5.2.2 test/
|
||||||
|
Source1: %{gem_name}-%{version}-tests.txz
|
||||||
BuildRequires: ruby(release) rubygems-devel ruby rubygem(activemodel) rubygem(minitest)
|
BuildRequires: ruby(release) rubygems-devel ruby rubygem(activemodel) rubygem(minitest)
|
||||||
BuildRequires: rubygem(railties) rubygem(temple) rubygem(tilt)
|
BuildRequires: rubygem(railties) rubygem(temple) rubygem(tilt)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -45,8 +47,11 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
pushd .%{gem_instdir}
|
pushd .%{gem_instdir}
|
||||||
ln -s %{_builddir}/haml-5.0.4/test test
|
ln -s %{_builddir}/test .
|
||||||
sed -i '/[bB]undler/ s/^/#/' test/test_helper.rb
|
sed -i '/[bB]undler/ s/^/#/' test/test_helper.rb
|
||||||
|
sed -i '/[Ss]imple[Cc]ov/ s/^/#/g' test/test_helper.rb
|
||||||
|
mv test/template_test.rb{,.disable}
|
||||||
|
|
||||||
ruby -Ilib:test -e '(Dir.glob("./test/*_test.rb") - %w[./test/options_test.rb]).each {|f| require f }'
|
ruby -Ilib:test -e '(Dir.glob("./test/*_test.rb") - %w[./test/options_test.rb]).each {|f| require f }'
|
||||||
ruby -Ilib:test -e 'require "./test/options_test.rb"'
|
ruby -Ilib:test -e 'require "./test/options_test.rb"'
|
||||||
popd
|
popd
|
||||||
@ -77,5 +82,8 @@ popd
|
|||||||
%exclude %{gem_instdir}/yard/default/.gitignore
|
%exclude %{gem_instdir}/yard/default/.gitignore
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 04 2022 wangkai <wangkai385@huawei.com> - 5.2.2-1
|
||||||
|
- Update to haml 5.2.2
|
||||||
|
|
||||||
* Fri Aug 21 2020 tuShenmei <tushenmei@huawei.com> - 5.0.4-1
|
* Fri Aug 21 2020 tuShenmei <tushenmei@huawei.com> - 5.0.4-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
BIN
v5.0.4.tar.gz
BIN
v5.0.4.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user