]> git.pld-linux.org Git - packages/gem2rpm.git/blobdiff - gem2rpm.spec
tests run with rake
[packages/gem2rpm.git] / gem2rpm.spec
index 665302bf98875addb73347dc3a1a1f373c7d638f..596522ee6967aaaa6c0d6a487e8e92469820abf1 100644 (file)
@@ -18,6 +18,7 @@ URL:          https://github.com/fedora-ruby/gem2rpm
 BuildRequires: rpm-rubyprov
 BuildRequires: rpmbuild(macros) >= 1.656
 %if %{with tests}
+BuildRequires: ruby-rake
 %if %(locale -a | grep -q '^en_US$'; echo $?)
 BuildRequires: glibc-localedb-all
 %endif
@@ -55,7 +56,7 @@ find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
 %if %{with tests}
 # tests need UTF-8 locale
 LC_ALL=en_US.UTF-8 \
-testrb -Itest test/
+rake test
 %endif
 
 %install
This page took 0.055395 seconds and 4 git commands to generate.