Update to version 4.0.5

f38
Mo Morsi 11 years ago
parent 79c4ae6520
commit 6ac379be4d

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

Loading…
Cancel
Save