diff --git a/baselibs.conf b/baselibs.conf index 66be909..dbc89e0 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,3 +1,3 @@ -libprotobuf6 -libprotobuf-lite6 -libprotoc6 +libprotobuf7 +libprotobuf-lite7 +libprotoc7 diff --git a/protobuf-2.3.0.tar.bz2 b/protobuf-2.3.0.tar.bz2 deleted file mode 100644 index 0b9927a..0000000 --- a/protobuf-2.3.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:760c7707c3fe9ce801916bbd3067d711a33aa550c01b32d1e1761119cf6280ac -size 1424966 diff --git a/protobuf-2.4.1.tar.bz2 b/protobuf-2.4.1.tar.bz2 new file mode 100644 index 0000000..daab98c --- /dev/null +++ b/protobuf-2.4.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf8452347330834bbf9c65c2e68b5562ba10c95fa40d4f7ec0d2cb332674b0bf +size 1440188 diff --git a/protobuf-setuptools-2.2.0.patch b/protobuf-setuptools-2.4.1.patch similarity index 92% rename from protobuf-setuptools-2.2.0.patch rename to protobuf-setuptools-2.4.1.patch index 56d7ef3..ce34d29 100644 --- a/protobuf-setuptools-2.2.0.patch +++ b/protobuf-setuptools-2.4.1.patch @@ -5,7 +5,7 @@ python tries to auto download a newer version ... o_O This file can also be run as a script to install or upgrade setuptools. """ import sys --DEFAULT_VERSION = "0.6c9" +-DEFAULT_VERSION = "0.6c11" +DEFAULT_VERSION = "0.6c8" DEFAULT_URL = "http://pypi.python.org/packages/%s/s/setuptools/" % sys.version[:3] diff --git a/protobuf.changes b/protobuf.changes index 9d67a4e..9d29e71 100644 --- a/protobuf.changes +++ b/protobuf.changes @@ -1,7 +1,33 @@ +------------------------------------------------------------------- +Wed Dec 21 09:47:32 UTC 2011 - coolo@suse.com + +- remove %release from requires + +------------------------------------------------------------------- +Wed Oct 12 15:46:14 MSD 2011 - tony@daylessday.org + +- Update to Protobuf 2.4.1: + C++ + * Fixed the frendship problem for old compilers to make the library now gcc 3 + compatible again. + * Fixed vcprojects/extract_includes.bat to extract compiler/plugin.h. + + Java + * Removed usages of JDK 1.6 only features to make the library now JDK 1.5 + compatible again. + * Fixed a bug about negative enum values. + * serialVersionUID is now defined in generated messages for java serializing. + * Fixed protoc to use java.lang.Object, which makes "Object" now a valid + message name again. + + Python + * Experimental C++ implementation now requires C++ protobuf library installed. + See the README.txt in the python directory for details. + ------------------------------------------------------------------- Tue Apr 19 00:23:14 CEST 2011 - ro@suse.de -- update baselibs.conf +- update baselibs.conf ------------------------------------------------------------------- Wed Dec 15 09:42:59 UTC 2010 - lnussel@suse.de diff --git a/protobuf.spec b/protobuf.spec index 5e15621..78e9809 100644 --- a/protobuf.spec +++ b/protobuf.spec @@ -15,9 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - -%define soname 6 +%define soname 7 %bcond_without check @@ -35,14 +33,14 @@ Name: protobuf Summary: Protocol Buffers - Google's data interchange format -Version: 2.3.0 -Release: 9 -License: New BSD License +License: BSD-3-Clause Group: Development/Libraries/C and C++ +Version: 2.4.1 +Release: 0 Url: http://code.google.com/p/protobuf/ Source0: http://protobuf.googlecode.com/files/%{name}-%{version}.tar.bz2 Source1: manifest.txt.in -Patch0: protobuf-setuptools-2.2.0.patch +Patch0: protobuf-setuptools-2.4.1.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ %if 0%{?suse_version} > 1010 @@ -52,7 +50,9 @@ BuildRequires: fdupes BuildRequires: java-devel >= 1.6.0 %endif %if %{with protobuf_python} -BuildRequires: python python-devel python-setuptools +BuildRequires: python +BuildRequires: python-devel +BuildRequires: python-setuptools %endif %description @@ -61,8 +61,6 @@ extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats. %package -n libprotobuf%{soname} - - Summary: Protocol Buffers - Google's data interchange format Group: System/Libraries @@ -72,8 +70,6 @@ extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats. %package -n libprotoc%{soname} - - Summary: Protocol Buffers - Google's data interchange format Group: System/Libraries @@ -83,8 +79,6 @@ extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats. %package -n libprotobuf-lite%{soname} - - Summary: Protocol Buffers - Google's data interchange format Group: System/Libraries @@ -94,12 +88,11 @@ extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats. %package devel -License: New BSD License - Summary: Header files, libraries and development documentation for %{name} Group: Development/Libraries/C and C++ -Requires: gcc-c++ -Provides: libprotobuf-devel = %version-%release +Requires: gcc-c++ libprotobuf%{soname} = %version libprotobuf-lite%{soname} +Provides: libprotobuf-devel = %version +BuildRequires: pkg-config %description devel Development files for Google Protocol Buffers @@ -107,11 +100,9 @@ Development files for Google Protocol Buffers %if %{with protobuf_java} %package -n %{name}-java - - -Group: Development/Libraries/Java Requires: java >= 1.6.0 Summary: Java Bindings for Google Protocol Buffers +Group: Development/Libraries/Java %description -n %{name}-java This package contains the Java bindings for Google Protocol Buffers. @@ -121,14 +112,13 @@ This package contains the Java bindings for Google Protocol Buffers. %package -n python-%{name} - -Group: Development/Libraries/Python %if 0%{?suse_version} %py_requires %else Requires: python %endif Summary: Python Bindings for Google Protocol Buffers +Group: Development/Libraries/Python %description -n python-%{name} This package contains the Python bindings for Google Protocol Buffers.