From 7713a360aa4d30ae069ef452781210c35b98a477 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Fri, 22 Jul 2011 10:38:59 -0400 Subject: [PATCH] Make haml require sass. Signed-off-by: Chris Lalancette --- rubygem-haml.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/rubygem-haml.spec b/rubygem-haml.spec index a36a8ee..01f2a33 100644 --- a/rubygem-haml.spec +++ b/rubygem-haml.spec @@ -6,7 +6,7 @@ Summary: An elegant, structured XHTML/XML templating engine Name: rubygem-%{gemname} Version: 3.1.2 -Release: 1%{?dist} +Release: 2%{?dist} Group: Development/Languages License: MIT and WTFPL URL: http://haml-lang.com/ @@ -21,8 +21,8 @@ Requires: ruby(abi) = 1.8 Requires: rubygem(hpricot) Requires: rubygem(yard) >= 0.5.3 Requires: rubygem(maruku) >= 0.5.9 -# TODO: Not packaged yet, only required in lib/sass/plugin.rb watch() -#Requires: rubygem(fssm) +Requires: rubygem(fssm) +Requires: rubygem(sass) BuildRequires: rubygems BuildRequires: ruby @@ -46,8 +46,7 @@ function as a stand-alone templating engine. %prep %setup -q -c -T %{__mkdir_p} .%{gemdir} -gem install --local --install-dir .%{gemdir} \ - --force -V --rdoc %{SOURCE0} +gem install --local --install-dir .%{gemdir} --force -V --rdoc %{SOURCE0} pushd .%{geminstdir} %patch0 @@ -101,7 +100,6 @@ find %{buildroot}%{geminstdir}/bin -type f | \ xargs -n 1 sed -i -e 's"^#!/usr/bin/env ruby"#!/usr/bin/ruby"' %files -%defattr(-, root, root, -) %{_bindir}/haml %{_bindir}/html2haml %dir %{geminstdir} @@ -126,6 +124,9 @@ find %{buildroot}%{geminstdir}/bin -type f | \ %changelog +* Fri Jul 22 2011 Chris Lalancette - 3.1.2-2 +- Fix up the sass includes + * Mon Jul 11 2011 Mo Morsi - 3.1.2-1 - updated to latest upstream release