SHA256
1
0
forked from pool/protobuf

Accepting request 171087 from home:ftake:branches:devel:tools:building

upstream update

OBS-URL: https://build.opensuse.org/request/show/171087
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=23
This commit is contained in:
Ismail Dönmez 2013-04-16 16:23:32 +00:00 committed by Git OBS Bridge
parent f3622d7283
commit df2fed1f35
6 changed files with 30 additions and 23 deletions

View File

@ -1,3 +1,3 @@
libprotobuf7
libprotobuf-lite7
libprotoc7
libprotobuf8
libprotobuf-lite8
libprotoc8

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5a7350a56d9536d83e41931d4300ca934f71cf09700542191b6267f4a466f20b
size 592328

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf8452347330834bbf9c65c2e68b5562ba10c95fa40d4f7ec0d2cb332674b0bf
size 1440188

3
protobuf-2.5.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677
size 1866763

View File

@ -1,4 +1,24 @@
-------------------------------------------------------------------
Fri Apr 12 18:35:09 UTC 2013 - ftake@geeko.jp
- Upstream update to 2.5.0
* New construct "import public"
* New enum option "allow_alias"
* C++: New generated method set_allocated_foo(Type* foo)
* C++: Added SetAllocatedExtension() and ReleaseExtension()
to extensions API
* Java: Added getters/setters to access the underlying ByteString
of a string field
* Java: New operations for substring(), prepend(), and append()
* Java: New method findInitializationErrors()
* Python: Support for dynamic message creation
* Python: Fixed custom options were not correctly populated
* Python: Added EnumTypeWrapper
* Python: Added ParseMessage(descriptor, bytes)
* Various bug fixes and optimazations
- Drop gtest-1.5, which is now included by the archive from
the upstream
-------------------------------------------------------------------
Sat May 19 18:25:52 UTC 2012 - crrodriguez@opensuse.org
- BuildRequire zlib-devel otherwise gzip_stream is not built

View File

@ -1,7 +1,7 @@
#
# spec file for package protobuf
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,7 @@
#
%define soname 7
%define soname 8
%bcond_without check
@ -36,14 +36,12 @@ Name: protobuf
Summary: Protocol Buffers - Google's data interchange format
License: BSD-3-Clause
Group: Development/Libraries/C and C++
Version: 2.4.1
Version: 2.5.0
Release: 0
# Reminder: Remove gtest 1.5.0 injected tarball.
Url: http://code.google.com/p/protobuf/
Source0: http://protobuf.googlecode.com/files/%{name}-%{version}.tar.bz2
Source1: manifest.txt.in
# gtest 1.5.0 is just there to fuix the build with gcc 4.7... newer version of protobuf includes this.
Source2: gtest-1.5.0.tar.bz2
Patch0: protobuf-setuptools-2.4.1.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Needed to rebootstrap with gtest 1.5.0
@ -138,21 +136,13 @@ This package contains the Python bindings for Google Protocol Buffers.
%setup -q
%patch0 -p0
%if "%{version}" == "2.4.1"
rm -rf gtest
tar xf %{S:2}
%else
echo "Drop this gtest injection hack... any newer version than protobuf 2.4.1 should have gtest 1.5.0 included."
false
%endif
%build
%if 0%{?mandriva_version}
#XXX something wents wrong with detecting this
export PTHREAD_LIBS=-lpthread
%endif
# Needed due to gtest 1.5.0 injection
autoreconf -fiv
#
%configure --disable-static
%{__make} %{?jobs:-j%jobs}
#