[qpid-cpp/f15/master] Rebased to sync with upstream's official 0.10 release

Nuno Santos nsantos at fedoraproject.org
Tue May 10 15:53:09 UTC 2011


commit 15a70cf6657ea0f6dab0d186da1503ed3e9d79e5
Author: Nuno Santos <nsantos at redhat.com>
Date:   Tue May 10 11:52:52 2011 -0400

    Rebased to sync with upstream's official 0.10 release

 mutable.patch   |   13 +++++++++++
 qpid-3159.patch |   29 +++++++++++++++++++++++++
 qpid-cpp.spec   |   64 +++++++++++++++++++++++++++++++++++++-----------------
 sources         |    4 +-
 4 files changed, 88 insertions(+), 22 deletions(-)
---
diff --git a/mutable.patch b/mutable.patch
new file mode 100644
index 0000000..a9c85c3
--- /dev/null
+++ b/mutable.patch
@@ -0,0 +1,13 @@
+Index: cpp/src/qmf/Agent.cppIndex: cpp/src/qpid/framing/SendContent.h
+===================================================================
+--- cpp/src/qpid/framing/SendContent.h	2009-03-12 16:55:34.000000000 -0400
++++ cpp/src/qpid/framing/SendContent.h	2011-02-07 16:12:01.949172798 -0500
+@@ -37,7 +37,7 @@
+  */
+ class SendContent
+ {
+-    mutable FrameHandler& handler;
++    FrameHandler& handler;
+     const uint16_t maxFrameSize;
+     uint expectedFrameCount;
+     uint frameCount;
diff --git a/qpid-3159.patch b/qpid-3159.patch
new file mode 100644
index 0000000..c510cf5
--- /dev/null
+++ b/qpid-3159.patch
@@ -0,0 +1,29 @@
+From c26786f952a8bf80eb8c836bc616f559b9fd2e3f Mon Sep 17 00:00:00 2001
+From: Ted Ross <tross at apache.org>
+Date: Tue, 22 Mar 2011 21:39:31 +0000
+Subject: [PATCH] QPID-3159 - Applied patch from Angus Salkeld
+
+git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084359 13f79535-47bb-0310-9956-ffa450edef68
+---
+ qpid/cpp/managementgen/qmfgen/schema.py |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/qpid/cpp/managementgen/qmfgen/schema.py b/qpid/cpp/managementgen/qmfgen/schema.py
+index afdfe42..59e951f 100755
+--- a/qpid/cpp/managementgen/qmfgen/schema.py
++++ b/qpid/cpp/managementgen/qmfgen/schema.py
+@@ -1731,9 +1731,9 @@ class SchemaPackage:
+                   stream.write("            qmf::SchemaProperty arg(\"%s\", %s);\n" % (arg.name, typeName))
+                   if subType:
+                       stream.write("            arg.setSubtype(\"%s\");\n" % subType)
+-                  if stat.unit:
++                  if arg.unit:
+                       stream.write("            arg.setUnit(\"%s\");\n" % arg.unit)
+-                  if stat.desc:
++                  if arg.desc:
+                       stream.write("            arg.setDesc(\"%s\");\n" % arg.desc)
+                   stream.write("            arg.setDirection(%s);\n" % self.qmfv2Dir(arg.dir))
+                   stream.write("            method.addArgument(arg);\n")
+-- 
+1.6.2.5
+
diff --git a/qpid-cpp.spec b/qpid-cpp.spec
index 632eef1..9dd2b5f 100644
--- a/qpid-cpp.spec
+++ b/qpid-cpp.spec
@@ -22,11 +22,11 @@
 %global MRG_non_core 1
 
 # Release numbers
-%global qpid_release 0.8
-%global qpid_svnrev  1037942
-%global store_svnrev 4411
+%global qpid_release 0.10
+%global qpid_svnrev  1091571
+%global store_svnrev 4446
 # Change this release number for each build of the same qpid_svnrev, otherwise set back to 1.
-%global release_num  6
+%global release_num  2
 
 # NOTE: these flags should not both be set at the same time!
 # RHEL-6 builds should have all flags set to 0.
@@ -38,15 +38,17 @@
 %global rhel_5                0
 
 # LIBRARY VERSIONS
-%global QPIDCOMMON_VERSION_INFO             3:0:0
-%global QPIDBROKER_VERSION_INFO             3:0:0
-%global QPIDCLIENT_VERSION_INFO             3:0:0
-%global QPIDMESSAGING_VERSION_INFO          3:0:0
-%global QMF_VERSION_INFO                    2:0:0
-%global QMFENGINE_VERSION_INFO              2:0:0
-%global QMFCONSOLE_VERSION_INFO             3:0:0
-%global RDMAWRAP_VERSION_INFO               3:0:0
-%global SSLCOMMON_VERSION_INFO              3:0:0
+%global QPIDCOMMON_VERSION_INFO             5:0:0
+%global QPIDTYPES_VERSION_INFO              3:0:2
+%global QPIDBROKER_VERSION_INFO             5:0:0
+%global QPIDCLIENT_VERSION_INFO             5:0:0
+%global QPIDMESSAGING_VERSION_INFO          4:0:1
+%global QMF_VERSION_INFO                    4:0:0
+%global QMF2_VERSION_INFO                   1:0:0
+%global QMFENGINE_VERSION_INFO              4:0:0
+%global QMFCONSOLE_VERSION_INFO             5:0:0
+%global RDMAWRAP_VERSION_INFO               5:0:0
+%global SSLCOMMON_VERSION_INFO              5:0:0
 
 # Single var with all lib version params (except store) for make
 %global LIB_VERSION_MAKE_PARAMS QPIDCOMMON_VERSION_INFO=%{QPIDCOMMON_VERSION_INFO} QPIDBROKER_VERSION_INFO=%{QPIDBROKER_VERSION_INFO} QPIDCLIENT_VERSION_INFO=%{QPIDCLIENT_VERSION_INFO} QPIDMESSAGING_VERSION_INFO=%{QPIDMESSAGING_VERSION_INFO} QMF_VERSION_INFO=%{QMF_VERSION_INFO} QMFENGINE_VERSION_INFO=%{QMFENGINE_VERSION_INFO} QMFCONSOLE_VERSION_INFO=%{QMFCONSOLE_VERSION_INFO} RDMAWRAP_VERSION_INFO=%{RDMAWRAP_VERSION_INFO} SSLCOMMON_VERSION_INFO=%{SSLCOMMON_VERSION_INFO}
@@ -104,8 +106,9 @@ Source1:        store-%{qpid_release}.%{store_svnrev}.tar.gz
 Patch1:         store-4411.patch
 
 %if %{fedora}
-Patch2:         fedora.patch
+Patch2:         qpid-3159.patch
 Patch6:         boost_filesystem_v2.patch
+Patch7:         mutable.patch
 %endif
 
 %if %{rhel_4}
@@ -257,6 +260,7 @@ in C++ using Qpid.  Qpid implements the AMQP messaging specification.
 %_libdir/libqpidmessaging.so
 %if ! %{rhel_4}
 %_datadir/qpidc/examples/messaging
+%_datadir/qpidc/examples/old_api
 %endif
 %defattr(755,root,root,-)
 %_bindir/qpid-perftest
@@ -330,7 +334,7 @@ the open AMQP messaging protocol.
 %_libdir/qpid/daemon/acl.so
 %attr(755, qpidd, qpidd) %_localstatedir/lib/qpidd
 %ghost %attr(755, qpidd, qpidd) /var/run/qpidd
-%attr(600, qpidd, qpidd) %config(noreplace) %_localstatedir/lib/qpidd/qpidd.sasldb
+#%attr(600, qpidd, qpidd) %config(noreplace) %_localstatedir/lib/qpidd/qpidd.sasldb
 %doc %_mandir/man1/qpidd.*
 
 %pre -n %{pkg_name}-server
@@ -473,6 +477,7 @@ for python.
 
 %files -n python-qpid-qmf
 %defattr(-,root,root,-)
+%{python_sitelib}/qmf
 %{python_sitelib}/cqpid.py*
 %{python_sitelib}/_cqpid.so
 %{python_sitelib}/qmf.py*
@@ -481,6 +486,10 @@ for python.
 %{python_sitelib}/qmf2.py*
 %{python_sitelib}/cqmf2.py*
 %{python_sitelib}/_cqmf2.so
+%{_bindir}/qpid-python-test
+%exclude %{python_sitelib}/mllib
+%exclude %{python_sitelib}/qpid
+%exclude %{python_sitelib}/*.egg-info
 
 %post -n python-qpid-qmf
 /sbin/ldconfig
@@ -818,13 +827,14 @@ popd
 %endif
 
 %if %{fedora}
-%patch2
-%patch6
+%patch2 -p2
+###%patch6
+%patch7
 %endif
 
 # apply store patch
 pushd ../store-%{qpid_release}.%{store_svnrev}
-%patch1
+###%patch1
 popd
 
 %global perftests "qpid-perftest qpid-topic-listener qpid-topic-publisher qpid-latency-test qpid-client-test qpid-txtest"
@@ -843,7 +853,7 @@ CXXFLAGS="%{optflags} -DNDEBUG -O3" \
 CXXFLAGS="%{optflags} -DNDEBUG -O3" \
 %configure --disable-static --with-cpg --without-graphviz --without-help2man --with-swig
 %endif
-ECHO=echo make %{LIB_VERSION_MAKE_PARAMS}
+ECHO=echo make %{LIB_VERSION_MAKE_PARAMS} %{?_smp_mflags}
 
 # Make perftest utilities
 pushd src/tests
@@ -889,12 +899,16 @@ export CXXFLAGS="%{optflags} -DNDEBUG"
 %endif
 ./bootstrap
 %configure --disable-static --disable-rpath --disable-dependency-tracking --with-qpid-checkout=%{_builddir}/qpid-%{version}
-make
+make %{?_smp_mflags}
 popd
 
 %install
 rm -rf %{buildroot}
 mkdir -p -m0755 %{buildroot}/%_bindir
+
+(cd python; %{__python} setup.py install --skip-build --root %{buildroot})
+(cd extras/qmf; %{__python} setup.py install --skip-build --root %{buildroot})
+
 pushd %{_builddir}/qpid-%{version}/cpp
 make install DESTDIR=%{buildroot}
 
@@ -944,6 +958,7 @@ rm -f %{buildroot}%_libdir/librdmawrap.so
 rm -f %{buildroot}%_libdir/libsslcommon.so
 rm -f %{buildroot}%_libdir/qpid/client/*.la
 rm -f %{buildroot}%_libdir/qpid/daemon/*.la
+rm -f %{buildroot}%_libdir/libcqpid_perl.so
 
 # this should be fixed in the examples Makefile (make install)
 rm -f %{buildroot}%_datadir/qpidc/examples/Makefile
@@ -1110,6 +1125,15 @@ rm -rf %{buildroot}
 %postun -p /sbin/ldconfig
 
 %changelog
+* Mon May  2 2011 Nuno Santos <nsantos at redhat.com> - 0.10-1
+- Rebased to sync with upstream's official 0.10 release
+
+* Sun Apr 17 2011 Kalev Lember <kalev at smartlink.ee> - 0.8-8
+- Rebuilt for boost 1.46.1 soname bump
+
+* Thu Mar 10 2011 Kalev Lember <kalev at smartlink.ee> - 0.8-7
+- Rebuilt with xerces-c 3.1
+
 * Tue Feb 22 2011 Nuno Santos <nsantos at redhat.com> - 0.8-6
 - BZ661736 - renaming qmf subpackage to qpid-qmf
 
diff --git a/sources b/sources
index a0d03b2..bac7d79 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-0184fef44ae9ca859bb4ef9ee22d5e1c  qpid-0.8.tar.gz
-261c37dc90a1a05b59100476ac9c2839  store-0.8.4411.tar.gz
+7b0e4a9a0a3e9681685ffec4bac64d16  store-0.10.4446.tar.gz
+75f7e1076fddc08baaee386f9af61897  qpid-0.10.tar.gz


More information about the scm-commits mailing list