commit adee13d2f6d7031a4e581cc1de07616cfc6d4880
Author: Elan Ruusamäe <[email protected]>
Date: Sat Oct 17 11:35:36 2015 +0300
add tests
do trivial test run, gives errors currently:
+ ./bin/ronn --version
warn: /usr/lib64/ruby/2.0/fast_xs.so: undefined symbol: ruby_digitmap -
/usr/lib64/ruby/2.0/fast_xs.so. loading rubygems ...
/usr/lib64/ruby/2.0/fast_xs.so: undefined symbol: ruby_digitmap -
/usr/lib64/ruby/2.0/fast_xs.so
ruby-ronn.spec | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/ruby-ronn.spec b/ruby-ronn.spec
index 78a9a6e..f099981 100644
--- a/ruby-ronn.spec
+++ b/ruby-ronn.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests # build without tests
+
%define pkgname ronn
Summary: Markdown to man and HTML translator
Name: ruby-ronn
@@ -64,6 +68,11 @@ mv rtomayko-ronn-*/* .
%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
%build
+# do trivial version check
+%if %{with tests}
+./bin/ronn --version
+%endif
+
rdoc --ri --op ri lib
rdoc --op rdoc lib
rm -r ri/lib/ronn/template
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-ronn.git/commitdiff/adee13d2f6d7031a4e581cc1de07616cfc6d4880
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit