From ebae2fa768eabc10600ddc6a5cd63d3034d2fad8 Mon Sep 17 00:00:00 2001 From: drago01 Date: Sat, 13 Feb 2010 18:41:04 +0000 Subject: [PATCH] Fix FTBS (RH #565052) --- dbus-c++-linkfix.patch | 12 ++++++++++++ dbus-c++.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 dbus-c++-linkfix.patch diff --git a/dbus-c++-linkfix.patch b/dbus-c++-linkfix.patch new file mode 100644 index 0000000..feef0d2 --- /dev/null +++ b/dbus-c++-linkfix.patch @@ -0,0 +1,12 @@ +diff -upNr dbus-c++.orign/src/Makefile.am dbus-c++/src/Makefile.am +--- dbus-c++.orign/src/Makefile.am 2009-01-08 21:58:42.000000000 +0100 ++++ dbus-c++/src/Makefile.am 2010-02-13 19:33:37.090109108 +0100 +@@ -38,7 +38,7 @@ lib_include_HEADERS = $(HEADER_FILES) + + lib_LTLIBRARIES = libdbus-c++-1.la + libdbus_c___1_la_SOURCES = $(HEADER_FILES) interface.cpp object.cpp introspection.cpp debug.cpp types.cpp connection.cpp connection_p.h property.cpp dispatcher.cpp dispatcher_p.h pendingcall.cpp pendingcall_p.h error.cpp internalerror.h message.cpp message_p.h server.cpp server_p.h eventloop.cpp eventloop-integration.cpp $(GLIB_CPP) +-libdbus_c___1_la_LIBADD = $(dbus_LIBS) $(glib_LIBS) $(pthread_LIBS) ++libdbus_c___1_la_LIBADD = $(dbus_LIBS) $(glib_LIBS) $(pthread_LIBS) $(xml_LIBS) + + MAINTAINERCLEANFILES = \ + Makefile.in diff --git a/dbus-c++.spec b/dbus-c++.spec index 99f4b4c..a929edf 100644 --- a/dbus-c++.spec +++ b/dbus-c++.spec @@ -2,7 +2,7 @@ %define git_version 13281b3 Name: dbus-c++ Version: 0.5.0 -Release: 0.10.%{git_date}git%{git_version}%{?dist} +Release: 0.11.%{git_date}git%{git_version}%{?dist} Summary: Native C++ bindings for D-Bus Group: System Environment/Libraries @@ -17,6 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch1: dbus-c++-get-uid-api.patch Patch2: gcc-44.patch Patch3: dbus-c++-build-fix.patch +Patch4: dbus-c++-linkfix.patch BuildRequires: dbus-devel BuildRequires: glib2-devel @@ -44,6 +45,7 @@ developing applications that use %{name}. %patch1 -p1 -b .uid %patch2 -p1 -b .gcc44 %patch3 -p1 -b .buildfix +%patch4 -p1 -b .linkfix %build ./autogen.sh @@ -82,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/* %changelog +* Sat Feb 13 2010 Adel Gadllah - 0.5.0-0.11.20090203git13281b3 +- Fix FTBS (RH #565052) + * Fri Jul 31 2009 Adel Gadllah - 0.5.0-0.10.20090203git13281b3 - Fix build