|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 5.0.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: An elegant, structured (X)HTML/XML templating engine
|
|
|
|
|
License: MIT and WTFPL
|
|
|
|
|
URL: http://haml.info/
|
|
|
|
@ -69,7 +69,11 @@ tar xzvf %{SOURCE1}
|
|
|
|
|
# Get rid of Bundler.
|
|
|
|
|
sed -i '/bundler/ s/^/#/' test/test_helper.rb
|
|
|
|
|
|
|
|
|
|
ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
|
|
|
|
|
# options_test.rb must be executed in isolation in order to prevent load
|
|
|
|
|
# order issues.
|
|
|
|
|
# https://github.com/haml/haml/issues/943
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
@ -97,6 +101,9 @@ popd
|
|
|
|
|
%{gem_instdir}/yard
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jul 19 2017 Vít Ondruch <vondruch@redhat.com> - 5.0.1-2
|
|
|
|
|
- options_test.rb must be executed in isolation.
|
|
|
|
|
|
|
|
|
|
* Tue Jul 18 2017 Vít Ondruch <vondruch@redhat.com> - 5.0.1-1
|
|
|
|
|
- Update to Haml 5.0.1.
|
|
|
|
|
|
|
|
|
|