]> git.pld-linux.org Git - packages/protobuf.git/blobdiff - protobuf.spec
rebuild with separate debuginfo build-ids
[packages/protobuf.git] / protobuf.spec
index 3d209b54dde7e45b93554a13bb35626ead07ae2e..3e51bc277dc4bdeb4d6f201cd5edfacf69710a40 100644 (file)
@@ -7,23 +7,23 @@
 %bcond_without python2 # Python 2.x bindings
 %bcond_without python3 # Python 3.x bindings
 %bcond_without ruby    # Ruby bindings
-%bcond_without tests   # perform "make check"
+%bcond_without tests   # perform "make check" (requires 4+GB RAM on 64-bit archs)
 
 Summary:       Protocol Buffers - Google's data interchange format
 Summary(pl.UTF-8):     Protocol Buffers - format wymiany danych Google
 Name:          protobuf
-Version:       3.13.0
+Version:       3.14.0
 Release:       3
 License:       BSD
 Group:         Libraries
 #Source0Download: https://github.com/google/protobuf/releases
 Source0:       https://github.com/google/protobuf/releases/download/v%{version}/%{name}-all-%{version}.tar.gz
-# Source0-md5: cafa623d51361228c83c874d95f51992
+# Source0-md5: d0a7dd930210af5285c08c8a2c2304ab
 Source1:       ftdetect-proto.vim
 Patch0:                system-gtest.patch
 Patch1:                no-wrap-memcpy.patch
-Patch2:                %{name}-no-wheel.patch
-Patch3:                %{name}-x32.patch
+Patch2:                %{name}-x32.patch
+Patch3:                %{name}-disable-64bitptr-test.patch
 URL:           https://github.com/google/protobuf/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.9
@@ -160,6 +160,7 @@ Summary(pl.UTF-8):  Wiązania Pythona 2 do buforów protokołowych (Protocol Buff
 Group:         Development/Languages/Python
 Requires:      python-modules >= 1:2.7
 # does not use C++ library at this time
+BuildArch:     noarch
 
 %description -n python-protobuf
 Python 2 bindings for Protocol Buffers.
@@ -173,6 +174,7 @@ Summary(pl.UTF-8):  Wiązania Pythona 3 do buforów protokołowych (Protocol Buff
 Group:         Development/Languages/Python
 Requires:      python3-modules >= 1:3.3
 # does not use C++ library at this time
+BuildArch:     noarch
 
 %description -n python3-protobuf
 Python 3 bindings for Protocol Buffers.
@@ -211,7 +213,9 @@ opisów buforów protokołowych (Protocol Buffers).
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%ifnarch %{x8664} aarch64 alpha ia64 mips64 ppc64 s390x sparc64
 %patch3 -p1
+%endif
 
 %{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \
       examples/add_person.py \
@@ -309,17 +313,17 @@ rm -rf $RPM_BUILD_ROOT
 %doc CHANGES.txt CONTRIBUTORS.txt LICENSE README.md
 %attr(755,root,root) %{_bindir}/protoc
 %attr(755,root,root) %{_libdir}/libprotoc.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libprotoc.so.24
+%attr(755,root,root) %ghost %{_libdir}/libprotoc.so.25
 
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libprotobuf.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libprotobuf.so.24
+%attr(755,root,root) %ghost %{_libdir}/libprotobuf.so.25
 
 %files lite
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libprotobuf-lite.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libprotobuf-lite.so.24
+%attr(755,root,root) %ghost %{_libdir}/libprotobuf-lite.so.25
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.032697 seconds and 4 git commands to generate.