tstclair pushed to mesos (f21). "Merge branch 'f21'"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 18:29:37 UTC 2015


>From 3e326bc72208dcf5523a16272328c037c8135b77 Mon Sep 17 00:00:00 2001
From: "Timothy St. Clair" <tstclair at redhat.com>
Date: Tue, 9 Dec 2014 09:34:33 -0600
Subject: Fix python bindings


diff --git a/mesos-0.21.0-http-parser.patch b/mesos-0.21.0-http-parser.patch
new file mode 100644
index 0000000..1ff7216
--- /dev/null
+++ b/mesos-0.21.0-http-parser.patch
@@ -0,0 +1,13 @@
+diff --git a/src/python/native/ext_modules.py.in b/src/python/native/ext_modules.py.in
+index 4825fe4..b9fb7b9 100644
+--- a/src/python/native/ext_modules.py.in
++++ b/src/python/native/ext_modules.py.in
+@@ -102,6 +102,8 @@ if os.path.exists(libprotobuf):
+ else:
+   EXTRA_OBJECTS.append('-lprotobuf')
+ 
++EXTRA_OBJECTS.append('-lhttp_parser')
++
+ # For gperftools, we need to check for the presence of libprofiler.a, since
+ # it is possible to disable perftools inside libprocess.
+ libprofiler = os.path.join(
diff --git a/mesos.spec b/mesos.spec
index 7d567cf..d0d8759 100644
--- a/mesos.spec
+++ b/mesos.spec
@@ -17,7 +17,7 @@
 
 Name:          mesos
 Version:       0.21.0
-Release:       5.%{shortcommit}%{?dist}
+Release:       6.%{shortcommit}%{?dist}
 Summary:       Cluster manager for sharing distributed application frameworks
 License:       ASL 2.0
 URL:           http://mesos.apache.org/
@@ -31,6 +31,7 @@ Source5:       %{name}-slave
 
 ####################################
 Patch0:        mesos-0.21-integ.patch
+Patch1:        mesos-0.21.0-http-parser.patch
 
 BuildRequires: libtool
 BuildRequires: automake
@@ -135,6 +136,7 @@ The python-%{name} package contains Python bindings for %{name}.
 %prep
 %setup -q -n %{name}-%{commit}
 %patch0 -p1 -F2
+%patch1 -p1
 
 %if %unbundled
 # remove all bundled elements prior to build
@@ -325,6 +327,9 @@ exit 0
 /sbin/ldconfig
 
 %changelog
+* Tue Dec 9 2014 Timothy St. Clair <tstclair at redhat.com> - 0.21.0-6.ab8fa65
+- Fix for python bindings
+
 * Fri Nov 21 2014 Timothy St. Clair <tstclair at redhat.com> - 0.21.0-5.ab8fa65
 - Update to latest build
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/mesos.git/commit/?h=f21&id=5f44f0a516d7a3a16b34f3e6b117d0b7e342c511


More information about the scm-commits mailing list