[packages/gem2rpm] tests run with rake

glen glen at pld-linux.org
Mon May 23 18:49:15 CEST 2016


commit 7cb22ffb31fd8b234cf466680678bb84cb956501
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon May 23 19:48:48 2016 +0300

    tests run with rake

 gem2rpm.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gem2rpm.spec b/gem2rpm.spec
index 665302b..596522e 100644
--- a/gem2rpm.spec
+++ b/gem2rpm.spec
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gem2rpm.git/commitdiff/7cb22ffb31fd8b234cf466680678bb84cb956501



More information about the pld-cvs-commit mailing list