]> git.pld-linux.org Git - packages/protobuf.git/commitdiff
- added no-wheel patch (don't require wheel module when not creating wheels); release 2 auto/th/protobuf-3.13.0-2
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 8 Sep 2020 19:36:03 +0000 (21:36 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 8 Sep 2020 19:36:03 +0000 (21:36 +0200)
protobuf-no-wheel.patch [new file with mode: 0644]
protobuf.spec

diff --git a/protobuf-no-wheel.patch b/protobuf-no-wheel.patch
new file mode 100644 (file)
index 0000000..4b9a288
--- /dev/null
@@ -0,0 +1,10 @@
+--- 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,
+   )
index 9f1983786a87a1e10feb5c04b613e3d1c3e8c521..35b4ef5f9e65f7166152b5180a04fa56b479c8a4 100644 (file)
@@ -13,7 +13,7 @@ Summary:      Protocol Buffers - Google's data interchange format
 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
@@ -22,6 +22,7 @@ Source0:      https://github.com/google/protobuf/releases/download/v%{version}/%{name
 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
@@ -31,7 +32,7 @@ BuildRequires:        libstdc++-devel >= 6:4.7
 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}
@@ -154,7 +155,7 @@ Statyczne biblioteki buforów protokołowych (Protocol Buffers).
 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
@@ -206,6 +207,7 @@ opisów buforów protokołowych (Protocol Buffers).
 %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 \
This page took 0.197549 seconds and 4 git commands to generate.