Update to Mustache 0.99.5.

This commit is contained in:
Vít Ondruch 2014-05-20 13:40:42 +02:00
parent 347861c93b
commit ec3d6eba9d
3 changed files with 9 additions and 29 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/mustache-0.11.2.gem
/mustache-0.99.4.gem
/mustache-0.99.5.gem

View File

@ -1,24 +1,9 @@
%global gem_name mustache
%if 0%{?rhel} <= 6 && 0%{?fedora} <= 16
%if 0%{?rhel}
%global gem_dir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gem_instdir %{gem_dir}/gems/%{gem_name}-%{version}
%global gem_libdir %{gem_instdir}/lib
%global gem_cache %{gem_dir}/cache/%{gem_name}-%{version}.gem
%global gem_spec %{gem_dir}/specifications/%%{gem_name}-%{version}.gemspec
%global gem_docdir %{gem_dir}/doc/%{gem_name}-%{version}
%endif
%else
%endif
Summary: Framework-agnostic way to render logic-free views
Name: rubygem-%{gem_name}
Version: 0.99.4
Release: 9%{?dist}
Version: 0.99.5
Release: 1%{?dist}
Group: Development/Languages
License: MIT
URL: http://github.com/defunkt/mustache
@ -27,19 +12,11 @@ Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
# https://bugzilla.redhat.com/show_bug.cgi?id=859025
# https://github.com/defunkt/mustache/pull/116
Patch0: mustache-0.99.4-fix-mustache-executable-for-ruby193.patch
Requires: ruby(release)
Requires: ruby(rubygems)
Requires: ruby
BuildRequires: ruby(release)
%if 0%{?fedora}
BuildRequires: rubygems-devel
%else
BuildRequires: rubygems
%endif
BuildRequires: ruby
BuildRequires: rubygem(minitest)
BuildRequires: rubygem(minitest) < 5
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
%description
Think of Mustache as a replacement for your views.
@ -87,8 +64,7 @@ cp -a .%{gem_instdir}/man/*.html .
%check
pushd %{buildroot}/%{gem_instdir}
export LANG=en_US.utf8
testrb -Ilib test/*_test.rb
LANG=en_US.utf8 testrb -Ilib test/*_test.rb
popd
%files
@ -111,6 +87,9 @@ popd
%{gem_instdir}/test
%changelog
* Tue May 20 2014 Vít Ondruch <vondruch@redhat.com> - 0.99.5-1
- Update to Mustache 0.99.5.
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.4-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -1 +1 @@
650194ec2c166feb087377647414b9dc mustache-0.99.4.gem
fa5bb8c782febd55b2f4f47809b40acf mustache-0.99.5.gem