diff options
author | jfarrell <jfarrell@apache.org> | 2013-11-27 12:45:49 -0500 |
---|---|---|
committer | jfarrell <jfarrell@apache.org> | 2013-11-27 12:45:49 -0500 |
commit | 4b4f42b45b85f20dacaea0a724070ad8b82b8988 (patch) | |
tree | bf0200269e3fab320800e306d9a17eb24ef4b995 /contrib | |
parent | 8bdff945b52ee090fd53540a4bc6f54e1c176d10 (diff) | |
download | thrift-4b4f42b45b85f20dacaea0a724070ad8b82b8988.tar.gz |
THRIFT-2249:Add SMP Build option to thrift.spec (and three config defines)
Client: build
Patch: Martin Vogt
the patch improves the .spec file in contrib/. with a parallel build option and add defines
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/thrift.spec | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/contrib/thrift.spec b/contrib/thrift.spec index d281eb9cf..7aa7a16c8 100644 --- a/contrib/thrift.spec +++ b/contrib/thrift.spec @@ -17,6 +17,10 @@ # under the License. # +%define without_java 1 +%define without_python 1 +%define without_tests 1 + %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} @@ -24,7 +28,7 @@ Name: thrift License: Apache License v2.0 Group: Development Summary: RPC and serialization framework -Version: 0.9.0 +Version: 0.9.1 Release: 0 URL: http://thrift.apache.org Packager: Thrift Developers <dev@thrift.apache.org> @@ -127,12 +131,13 @@ Python libraries for Thrift. %configure \ %{?without_libevent: --without-libevent } \ %{?without_zlib: --without-zlib } \ - --without-java \ + %{?without_tests: --without-tests } \ + %{?without_java: --without-java } \ + %{?without_python: --without-python } \ --without-csharp \ - --without-python \ --without-erlang \ -make +make %{?_smp_mflags} %if 0%{!?without_java:1} cd lib/java |