commit ed0d1fdb31e9dbe8b6147f63e3cb34341edb8c6f
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Aug 11 23:35:18 2014 +0300

    fix testing with newly built library

 ruby-ffi.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/ruby-ffi.spec b/ruby-ffi.spec
index 61dd8b5..80d9df2 100644
--- a/ruby-ffi.spec
+++ b/ruby-ffi.spec
@@ -6,7 +6,7 @@
 Summary:       FFI Extensions for Ruby
 Name:          ruby-%{pkgname}
 Version:       1.8.1
-Release:       1
+Release:       2
 License:       LGPL v3
 Group:         Development/Languages
 Source0:       http://rubygems.org/gems/%{pkgname}-%{version}.gem
@@ -18,6 +18,7 @@ BuildRequires:        rpmbuild(macros) >= 1.665
 BuildRequires: setup.rb
 %if %{with tests}
 BuildRequires: ruby-rspec
+BuildRequires: ruby-rspec-mocks
 %endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -45,7 +46,8 @@ cp -p %{_datadir}/setup.rb .
 
 %if %{with tests}
 %{__make} -f libtest/GNUmakefile
-rspec spec
+ruby -Ilib:ext/ffi_c -S \
+       rspec spec
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-ffi.git/commitdiff/ed0d1fdb31e9dbe8b6147f63e3cb34341edb8c6f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to