[rcssserver] Rebuild for Boost 1.50

Hedayat Vatankhah hedayat at fedoraproject.org
Tue Aug 21 18:31:20 UTC 2012


commit 7771ffeef1f2d060fbb061545cbd1b01881f3e58
Author: Hedayat Vatankhah <hedayat.fwd at gmail.com>
Date:   Tue Aug 21 22:59:54 2012 +0430

    Rebuild for Boost 1.50
    
    - Enable parallel build
    - Don't use boost filesystem v2

 rcssserver-parallelbuildfix.patch |   27 +++++++++++++++++++++++++++
 rcssserver.spec                   |    3 ++-
 2 files changed, 29 insertions(+), 1 deletions(-)
---
diff --git a/rcssserver-parallelbuildfix.patch b/rcssserver-parallelbuildfix.patch
new file mode 100644
index 0000000..740802d
--- /dev/null
+++ b/rcssserver-parallelbuildfix.patch
@@ -0,0 +1,27 @@
+diff -up rcssserver-15.1.0/src/Makefile.am.parallelbuildfix rcssserver-15.1.0/src/Makefile.am
+--- rcssserver-15.1.0/src/Makefile.am.parallelbuildfix	2012-08-21 22:57:31.778402414 +0430
++++ rcssserver-15.1.0/src/Makefile.am	2012-08-21 22:57:51.703153316 +0430
+@@ -248,19 +248,19 @@ FLEXFLAGS=@FLEXFLAGS@
+ AM_FLEXFLEX=@AM_FLEXFLAGS@
+ 
+ .lpp.cpp:	$*.lpp Makefile.am
+-	$(FLEX) $(FLEXFLAGS) $(AM_FLEXFLAGS) $<
++	$(FLEX) $(FLEXFLAGS) $(AM_FLEXFLAGS) $< && \
+ 	$(AWK) '/#include <FlexLexer\.h>/ { print "#include \"$*.h\""; getline; } \
+ 		/class istream;/ { print "#include <iosfwd>"; print "using namespace std;"; getline; } \
+ 		/#include <iostream\.h>/ { print "#include <iostream>"; getline; } \
+-		{ gsub( "lex\.yy\.c", "$@" ); print; }' lex.yy.c > $@
++		{ gsub( "lex\.yy\.c", "$@" ); print; }' lex.yy.c > $@ && \
+ 	rm -f lex.yy.c
+ 
+ .ll.cc:	$*.ll Makefile.am
+-	$(FLEX) $(FLEXFLAGS) $(AM_FLEXFLAGS) $<
++	$(FLEX) $(FLEXFLAGS) $(AM_FLEXFLAGS) $< && \
+ 	$(AWK) '/#include <FlexLexer\.h>/ { print "#include \"$*.h\""; getline; } \
+ 		/class istream;/ { print "#include <iosfwd>"; print "using namespace std;"; getline; } \
+ 		/#include <iostream\.h>/ { print "#include <iostream>"; getline; } \
+-		{ gsub( "lex\.yy\.c", "$@" ); print; }' lex.yy.c > $@
++		{ gsub( "lex\.yy\.c", "$@" ); print; }' lex.yy.c > $@ && \
+ 	rm -f lex.yy.c
+ 
+ 
diff --git a/rcssserver.spec b/rcssserver.spec
index a14d7c3..8bf8e0b 100644
--- a/rcssserver.spec
+++ b/rcssserver.spec
@@ -58,7 +58,6 @@ sed -i.rpath -e '/sys_lib_search_path_spec/s| /usr/lib| /lib64 /usr/lib64 /usr/l
 %build
 %configure
 sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
-#%{?_smp_mflags} doesn't work
 make %{?_smp_mflags}
 
 %install
@@ -87,6 +86,8 @@ desktop-file-install --vendor="fedora"                 \
 %changelog
 * Tue Aug 21 2012 Hedayat Vatankhah <hedayat.fwd+rpmchlog at gmail.com> - 15.1.0-3
 - Rebuild for Boost 1.50
+- Enable parallel build
+- Don't use boost filesystem v2
 
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 15.1.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild


More information about the scm-commits mailing list