--- /dev/null
+--- protobuf-3.13.0/python/setup.py.orig 2020-08-15 01:24:06.000000000 +0200
++++ protobuf-3.13.0/python/setup.py 2020-09-08 21:07:02.277138265 +0200
+@@ -279,7 +279,6 @@
+ 'build_py': build_py,
+ 'test_conformance': test_conformance,
+ },
+- setup_requires = ['wheel'],
+ install_requires=install_requires,
+ ext_modules=ext_module_list,
+ )
Summary(pl.UTF-8): Protocol Buffers - format wymiany danych Google
Name: protobuf
Version: 3.13.0
-Release: 1
+Release: 2
License: BSD
Group: Libraries
#Source0Download: https://github.com/google/protobuf/releases
Source1: ftdetect-proto.vim
Patch0: system-gtest.patch
Patch1: no-wrap-memcpy.patch
+Patch2: %{name}-no-wheel.patch
URL: https://github.com/google/protobuf/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.9
BuildRequires: libtool
BuildRequires: pkgconfig
%if %{with python2}
-BuildRequires: python-modules >= 1:2.6
+BuildRequires: python-modules >= 1:2.7
BuildRequires: python-setuptools
%endif
%if %{with python3}
Summary: Python 2 bindings for Protocol Buffers
Summary(pl.UTF-8): Wiązania Pythona 2 do buforów protokołowych (Protocol Buffers)
Group: Development/Languages/Python
-Requires: python-modules >= 1:2.6
+Requires: python-modules >= 1:2.7
# does not use C++ library at this time
%description -n python-protobuf
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \
examples/add_person.py \