Author: glen                         Date: Fri Apr 23 16:31:29 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.5.0
- regenerate libtool to use our patched libtool for libs older for --as-needed 
(thx sparky)

---- Files affected:
packages/gtest:
   gtest.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/gtest/gtest.spec
diff -u packages/gtest/gtest.spec:1.2 packages/gtest/gtest.spec:1.3
--- packages/gtest/gtest.spec:1.2       Thu Apr 22 21:32:21 2010
+++ packages/gtest/gtest.spec   Fri Apr 23 18:31:23 2010
@@ -1,17 +1,21 @@
 # $Revision$, $Date$
+# TODO
+# - libgtest.so needs -lpthread
+# - tests fail due some linkage problems
 #
 # Conditional build:
 %bcond_with    tests           # build without tests.
 
 Summary:       Google C++ testing framework
 Name:          gtest
-Version:       1.4.0
+Version:       1.5.0
 Release:       1
 License:       BSD
 Group:         Development/Tools
 URL:           http://code.google.com/p/googletest/
 Source0:       
http://googletest.googlecode.com/files/%{name}-%{version}.tar.bz2
-# Source0-md5: c91de493522cf1b75902d3b3730ff8de
+# Source0-md5: 8b2c3c3f26cb53e64a3109d03a97200a
+BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -37,16 +41,15 @@
 cp -a samples examples
 
 %build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%{__libtoolize}
 %configure \
        --disable-static
 
-# Omit unused direct shared library dependencies.
-# XXX: patch pld libtool, currently without this sed -lm is generated on 
package deps
-sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
-
 %{__make}
 
-# Two tests fail here, unclear as to why.
 %{?with_tests:make check}
 
 %install
@@ -91,6 +94,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/04/23 16:31:23  glen
+- up to 1.5.0
+- regenerate libtool to use our patched libtool for libs older for --as-needed 
(thx sparky)
+
 Revision 1.2  2010/04/22 19:32:21  glen
 - disable tests (they fail)
 - samples to examples dir
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gtest/gtest.spec?r1=1.2&r2=1.3&f=u

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

Reply via email to