|
|
@ -2,15 +2,15 @@
|
|
|
|
%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: 8%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
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
|
|
|
|
# git clone https://github.com/haml/haml.git && cd haml
|
|
|
|
# git clone --no-checkout https://github.com/haml/haml.git
|
|
|
|
# git checkout v5.0.4 && tar czvf haml-5.0.4-tests.tgz test/
|
|
|
|
# git -C haml archive -v -o haml-5.2.2-tests.txz v5.2.2 test/
|
|
|
|
Source1: %{gem_name}-%{version}-tests.tgz
|
|
|
|
Source1: %{gem_name}-%{version}-tests.txz
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: ruby
|
|
|
|
BuildRequires: ruby
|
|
|
@ -60,11 +60,17 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
# Link test suite into the place.
|
|
|
|
# Link test suite into the place.
|
|
|
|
ln -s %{_builddir}/test test
|
|
|
|
ln -s %{_builddir}/test .
|
|
|
|
|
|
|
|
|
|
|
|
# Get rid of Bundler.
|
|
|
|
# Get rid of Bundler.
|
|
|
|
sed -i '/[bB]undler/ s/^/#/' test/test_helper.rb
|
|
|
|
sed -i '/[bB]undler/ s/^/#/' test/test_helper.rb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# We don't care about code coverage
|
|
|
|
|
|
|
|
sed -i '/[Ss]imple[Cc]ov/ s/^/#/g' test/test_helper.rb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Disable test_annotated_template_names that's not working (removed in next release)
|
|
|
|
|
|
|
|
mv test/template_test.rb{,.disable}
|
|
|
|
|
|
|
|
|
|
|
|
# options_test.rb must be executed in isolation in order to prevent load
|
|
|
|
# options_test.rb must be executed in isolation in order to prevent load
|
|
|
|
# order issues.
|
|
|
|
# order issues.
|
|
|
|
# https://github.com/haml/haml/issues/943
|
|
|
|
# https://github.com/haml/haml/issues/943
|
|
|
@ -98,6 +104,10 @@ popd
|
|
|
|
%exclude %{gem_instdir}/yard/default/.gitignore
|
|
|
|
%exclude %{gem_instdir}/yard/default/.gitignore
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Sep 17 2021 Pavel Valena <pvalena@redhat.com> - 5.2.2-1
|
|
|
|
|
|
|
|
- Update to haml 5.2.2.
|
|
|
|
|
|
|
|
Resolves: rhbz#1710827
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.4-8
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.4-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|