summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2013-12-22 17:41:32 (GMT)
committerElan Ruusamäe2013-12-22 17:41:32 (GMT)
commit0615b33033cda591b3380e70302d6512bd7b7b15 (patch)
tree01620e4d236c87b180078a2d983309e1f26b1ccc
parent3a54679232750afa7d3957106b76adb2336c4d42 (diff)
downloadlibmaxminddb-0615b33033cda591b3380e70302d6512bd7b7b15.zip
libmaxminddb-0615b33033cda591b3380e70302d6512bd7b7b15.tar.gz
run tests
-rw-r--r--libmaxminddb.spec2
1 files changed, 2 insertions, 0 deletions
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