[packages/libmaxminddb] run tests

glen glen at pld-linux.org
Sun Dec 22 18:41:38 CET 2013


commit 0615b33033cda591b3380e70302d6512bd7b7b15
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Dec 22 19:41:32 2013 +0200

    run tests

 libmaxminddb.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/libmaxminddb.spec b/libmaxminddb.spec
index aaf0590..a28b711 100644
--- a/libmaxminddb.spec
+++ b/libmaxminddb.spec
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without	static_libs	# don't build static libraries
+%bcond_without	tests		# build without tests
 
 Summary:	Library for working with MaxMind DB files
 Name:		libmaxminddb
@@ -48,6 +49,7 @@ Statyczna biblioteka %{name}.
 %configure \
 	%{!?with_static_libs:--disable-static}
 %{__make}
+%{?with_tests:%{__make} check}
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libmaxminddb.git/commitdiff/0615b33033cda591b3380e70302d6512bd7b7b15



More information about the pld-cvs-commit mailing list