Parallel build on SMP machines, added cppunit-devel to build requirements, proper...
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 5 Aug 2009 15:16:27 +0000 (17:16 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 5 Aug 2009 15:16:27 +0000 (17:16 +0200)
libt2n.spec.in

index d870d19..d1970ad 100644 (file)
@@ -9,7 +9,7 @@ Source:    http://www.intra2net.com/en/developer/libt2n/download/%{name}-%{versi
 Buildroot: /tmp/%{name}-%{version}-root
 Prefix:    /usr
 Requires:  boost >= 1.33
-BuildPrereq: libtool
+BuildPrereq: libtool cppunit-devel
 URL:       http://www.intra2net.com/en/developer/libt2n
 
 %description 
@@ -28,10 +28,9 @@ C++ IPC library devel files
 %setup -q
 
 %build
-cp -f /usr/share/libtool/ltmain.sh .
 autoreconf --force --install
 ./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix}
-make
+%__make %{?_smp_mflags}
 
 make check