[sinfo] Don't request -mt suffix in Boost libraries

Petr Machata pmachata at fedoraproject.org
Sat Jul 27 22:13:36 UTC 2013


commit e9cae290501817309416a0bfd34c03b4dacc2141
Author: Petr Machata <pmachata at redhat.com>
Date:   Sun Jul 28 00:12:35 2013 +0200

    Don't request -mt suffix in Boost libraries

 sinfo-0.0.47-boost_mt.patch |   28 ++++++++++++++++++++++++++++
 sinfo.spec                  |    8 +++++++-
 2 files changed, 35 insertions(+), 1 deletions(-)
---
diff --git a/sinfo-0.0.47-boost_mt.patch b/sinfo-0.0.47-boost_mt.patch
new file mode 100644
index 0000000..5a0183b
--- /dev/null
+++ b/sinfo-0.0.47-boost_mt.patch
@@ -0,0 +1,28 @@
+diff -up sinfo-0.0.47/sinfod/Makefile.in~ sinfo-0.0.47/sinfod/Makefile.in
+--- sinfo-0.0.47/sinfod/Makefile.in~	2012-07-08 08:47:10.000000000 +0200
++++ sinfo-0.0.47/sinfod/Makefile.in	2013-07-28 00:08:42.892594709 +0200
+@@ -274,8 +274,8 @@ sinfod_LDADD = \
+ 	../libmessageio/libmessageio.la	\
+ 	../librpc/librpc.la	\
+ 	-lpthread \
+-	-lboost_signals-mt \
+-	-lboost_system-mt
++	-lboost_signals \
++	-lboost_system
+ 
+ MAINTAINERCLEANFILES = \
+ 	$(IDLXSOURCES)
+diff -up sinfo-0.0.47/sinfo/Makefile.in~ sinfo-0.0.47/sinfo/Makefile.in
+--- sinfo-0.0.47/sinfo/Makefile.in~	2012-07-08 08:47:10.000000000 +0200
++++ sinfo-0.0.47/sinfo/Makefile.in	2013-07-28 00:08:32.204530239 +0200
+@@ -273,8 +273,8 @@ sinfo_LDADD = \
+ 	../libprotocol/libprotocol.la	\
+ 	../libprotocolasio/libprotocolasio.la	\
+ 	-lpthread		\
+-	-lboost_signals-mt	\
+-	-lboost_system-mt	\
++	-lboost_signals		\
++	-lboost_system		\
+ 	$(CURSES_LIB)
+ 
+ MAINTAINERCLEANFILES = \
diff --git a/sinfo.spec b/sinfo.spec
index 2293ff3..99df660 100644
--- a/sinfo.spec
+++ b/sinfo.spec
@@ -19,6 +19,9 @@ Group: Applications/Internet
 License: GPLv2+	
 URL: http://www.ant.uni-bremen.de/whomes/rinas/sinfo		
 Source0: http://www.ant.uni-bremen.de/whomes/rinas/%{name}/download/%{name}-%{version}.tar.gz	
+# Boost libraries lost -mt suffix in F20.
+Patch0: sinfo-0.0.47-boost_mt.patch
+
 BuildRequires: asio-devel
 BuildRequires: boost-devel
 BuildRequires: ncurses-devel	
@@ -29,6 +32,7 @@ status information about each computer on your local network.
      
 %prep
 %setup -q 
+%patch0 -p1
 iconv -f iso8859-1 -t utf-8 README > README.conv && mv -f README.conv README
 
 %build
@@ -51,8 +55,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
 %{_libdir}/%{name}/*.so*
 
 %changelog
-* Sat Jul 27 2013 pmachata at redhat.com - 0.0.47-4
+* Sat Jul 27 2013 Petr Machata <pmachata at redhat.com> - 0.0.47-4
 - Rebuild for boost 1.54.0
+- Boost.Signal and Boost.System DSO's do not include -mt suffix
+  anymore (sinfo-0.0.47-boost_mt.patch).
 
 * Thu Jun 6 2013 Kiara Navarro <sophiekovalevsky at fedoraproject.org> - 0.0.47-3
 - New Release Version. Added COPYING. Changed License. Filter requires and provides.


More information about the scm-commits mailing list