Update to haml 5.2.2
(cherry picked from commit cc2a08297aadf42d7b399477146d91611f7fcf9a)
This commit is contained in:
parent
dcd3247a3c
commit
521eb12281
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
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 5.0.4
|
||||
Version: 5.2.2
|
||||
Release: 1
|
||||
Summary: An elegant, structured (X)HTML/XML templating engine
|
||||
License: MIT and WTFPL
|
||||
URL: http://haml.info/
|
||||
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: rubygem(railties) rubygem(temple) rubygem(tilt)
|
||||
BuildArch: noarch
|
||||
@ -45,8 +47,11 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
||||
|
||||
%check
|
||||
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 '/[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 'require "./test/options_test.rb"'
|
||||
popd
|
||||
@ -77,5 +82,8 @@ popd
|
||||
%exclude %{gem_instdir}/yard/default/.gitignore
|
||||
|
||||
%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
|
||||
- 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