|
|
@ -3,8 +3,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
Summary: An elegant, structured XHTML/XML templating engine
|
|
|
|
Summary: An elegant, structured XHTML/XML templating engine
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 3.1.7
|
|
|
|
Version: 4.0.5
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
|
License: MIT and WTFPL
|
|
|
|
License: MIT and WTFPL
|
|
|
|
URL: http://haml-lang.com/
|
|
|
|
URL: http://haml-lang.com/
|
|
|
@ -12,11 +12,11 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
|
|
|
|
|
|
|
|
Requires: ruby(rubygems)
|
|
|
|
Requires: ruby(rubygems)
|
|
|
|
Requires: ruby(release)
|
|
|
|
Requires: ruby(release)
|
|
|
|
# for html2haml
|
|
|
|
|
|
|
|
Requires: rubygem(erubis)
|
|
|
|
Requires: rubygem(erubis)
|
|
|
|
Requires: rubygem(hpricot)
|
|
|
|
Requires: rubygem(hpricot)
|
|
|
|
Requires: rubygem(ruby_parser)
|
|
|
|
Requires: rubygem(ruby_parser)
|
|
|
|
Requires: rubygem(sass)
|
|
|
|
Requires: rubygem(sass)
|
|
|
|
|
|
|
|
Requires: rubygem(tilt)
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: rubygem(erubis)
|
|
|
|
BuildRequires: rubygem(erubis)
|
|
|
@ -66,39 +66,32 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
pushd %{buildroot}%{gem_instdir}
|
|
|
|
pushd %{buildroot}%{gem_instdir}
|
|
|
|
# Test error due to change in newer sass.
|
|
|
|
testrb -Ilib test/*_test.rb
|
|
|
|
# https://github.com/haml/haml/issues/623
|
|
|
|
|
|
|
|
sed -i "s/fuchsia/magenta/" test/haml/results/filters.xhtml
|
|
|
|
|
|
|
|
testrb -Ilib test/haml/*_test.rb
|
|
|
|
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%{_bindir}/haml
|
|
|
|
%{_bindir}/haml
|
|
|
|
%{_bindir}/html2haml
|
|
|
|
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
%{gem_libdir}
|
|
|
|
%{gem_libdir}
|
|
|
|
%{gem_instdir}/bin
|
|
|
|
%{gem_instdir}/bin
|
|
|
|
%{gem_instdir}/init.rb
|
|
|
|
|
|
|
|
%{gem_instdir}/rails
|
|
|
|
|
|
|
|
%{gem_instdir}/REVISION
|
|
|
|
|
|
|
|
%{gem_instdir}/VERSION
|
|
|
|
|
|
|
|
%{gem_instdir}/VERSION_NAME
|
|
|
|
|
|
|
|
%exclude %{gem_instdir}/.*
|
|
|
|
%exclude %{gem_instdir}/.*
|
|
|
|
# No vendored libraries thanks
|
|
|
|
|
|
|
|
%exclude %{gem_instdir}/vendor
|
|
|
|
|
|
|
|
%doc %{gem_instdir}/MIT-LICENSE
|
|
|
|
%doc %{gem_instdir}/MIT-LICENSE
|
|
|
|
%exclude %{gem_cache}
|
|
|
|
%exclude %{gem_cache}
|
|
|
|
%{gem_spec}
|
|
|
|
%{gem_spec}
|
|
|
|
|
|
|
|
%doc %{gem_instdir}/CHANGELOG.md
|
|
|
|
|
|
|
|
%doc %{gem_instdir}/FAQ.md
|
|
|
|
|
|
|
|
%doc %{gem_instdir}/REFERENCE.md
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%files doc
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
%doc %{gem_instdir}/CONTRIBUTING
|
|
|
|
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
%{gem_instdir}/extra
|
|
|
|
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
%{gem_instdir}/test
|
|
|
|
%{gem_instdir}/test
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Jan 22 2014 Mo Morsi <mmorsi@redhat.com> - 4.0.5-1
|
|
|
|
|
|
|
|
- Update to version 4.0.5
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.7-4
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|