packages: RakNet/RakNet.spec - BR: gcc-c++ (those are c++ files, but they d...

sparky sparky at pld-linux.org
Sun May 16 02:48:42 CEST 2010


Author: sparky                       Date: Sun May 16 00:48:42 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- BR: gcc-c++ (those are c++ files, but they don't use libstdc++)
- not parallel-safe - run in 1 thread
- fixed lib64 installation

---- Files affected:
packages/RakNet:
   RakNet.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/RakNet/RakNet.spec
diff -u packages/RakNet/RakNet.spec:1.3 packages/RakNet/RakNet.spec:1.4
--- packages/RakNet/RakNet.spec:1.3	Wed May 12 15:34:19 2010
+++ packages/RakNet/RakNet.spec	Sun May 16 02:48:36 2010
@@ -1,7 +1,7 @@
 # $Revision$, $Date$
 # NOTE
 # - RakNet 3.x is available, but it is not under GPL License
-# - lib64 fix
+# - fix linking
 # - SONAME lost?
 #
 %define		ver	%(echo %{version} | tr . _)
@@ -17,6 +17,7 @@
 Patch0:		%{name}-destdir.patch
 Patch1:		%{name}-flags.patch
 URL:		http://www.jenkinssoftware.com/
+BuildRequires:	gcc-c++
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.553
 BuildRequires:	sed >= 4.0
@@ -47,14 +48,15 @@
 %patch1 -p1
 
 %build
-%{__make} \
+%{__make} -j1 \
 	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags} -fPIC" \
 	LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+%{__make} -j1 install \
+	LIBS_DIR="%{_libdir}" \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -83,6 +85,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/05/16 00:48:36  sparky
+- BR: gcc-c++ (those are c++ files, but they don't use libstdc++)
+- not parallel-safe - run in 1 thread
+- fixed lib64 installation
+
 Revision 1.3  2010/05/12 13:34:19  glen
 - ldconfig, but seems SONAME is lost
 - packaging on lib64 systems are broken
================================================================

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



More information about the pld-cvs-commit mailing list