diff --git a/sassc.spec b/sassc.spec index a9626b4..26e93c8 100644 --- a/sassc.spec +++ b/sassc.spec @@ -1,9 +1,13 @@ %global testspec_version 3.6.3 +%if 0%{?epel} && 0%{?epel} <= 7 %define with_tests 0 +%else +%define with_tests 1 +%endif Name: sassc Version: 3.6.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Wrapper around libsass to compile CSS stylesheet License: MIT @@ -27,6 +31,7 @@ BuildRequires: ruby %if 0%{?epel} && 0%{?epel} <= 7 BuildRequires: rubygem-minitest5 %else +BuildRequires: rubygem-hrx BuildRequires: rubygem-minitest %endif %endif @@ -55,12 +60,7 @@ install -p -m755 -D bin/sassc $RPM_BUILD_ROOT%{_bindir}/%{name} %if %{with_tests} %check -# -# remove two tests that are failing until they can be investigaated. -# -rm -rf sass-spec/spec/sass/import/unquoted -rm -rf sass-spec/spec/libsass-closed-issues/issue_2360 -ruby sass-spec/sass-spec.rb -V 3.6 -c bin/%{name} --impl libsass sass-spec/spec +ruby sass-spec/sass-spec.rb --impl libsass -c bin/%{name} %endif %files @@ -70,6 +70,9 @@ ruby sass-spec/sass-spec.rb -V 3.6 -c bin/%{name} --impl libsass sass-spec/spec %changelog +* Fri Dec 06 2019 Leigh Scott - 3.6.1-2 +- Add build requires rubygem-hrx and enable tests for fedora + * Mon Dec 02 2019 Leigh Scott - 3.6.1-1 - Upgrade to 3.6.1, tests 3.6.3 - Disable tests they fail due to missing rubygem-hrx