Author: glen                         Date: Sun Apr 29 21:51:05 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- tests fail, skip them

---- Files affected:
packages/protobuf:
   protobuf.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: packages/protobuf/protobuf.spec
diff -u packages/protobuf/protobuf.spec:1.16 
packages/protobuf/protobuf.spec:1.17
--- packages/protobuf/protobuf.spec:1.16        Sun Apr 29 23:27:19 2012
+++ packages/protobuf/protobuf.spec     Sun Apr 29 23:51:00 2012
@@ -1,10 +1,12 @@
 # $Revision$, $Date$
 # TODO:
 #      - add bindings for java
+#      - tests fail: 2 of 5 tests failed
 #
 # Conditional build:
 #
 %bcond_without python  # Python bindings
+%bcond_with            tests   # build with tests
 
 Summary:       Protocol Buffers - Google's data interchange format
 Summary(pl.UTF-8):     Protocol Buffers - format wymiany danych Google
@@ -20,7 +22,7 @@
 URL:           http://code.google.com/p/protobuf/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: gtest-devel
+%{?with_tests:BuildRequires:   gtest-devel}
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
 BuildRequires: pkgconfig
@@ -153,6 +155,10 @@
 cd ..
 %endif
 
+%if %{with tests}
+%{__make} check
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
@@ -248,6 +254,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2012/04/29 21:51:00  glen
+- tests fail, skip them
+
 Revision 1.16  2012/04/29 21:27:19  glen
 - use system gtest
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/protobuf/protobuf.spec?r1=1.16&r2=1.17

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

Reply via email to