]> git.pld-linux.org Git - packages/protobuf.git/commitdiff
- fix shebangs auto/th/protobuf-3.9.0-3
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Mar 2020 22:31:46 +0000 (23:31 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Mar 2020 22:31:46 +0000 (23:31 +0100)
- rel 3

protobuf.spec

index 49308b8a95fe81eac3942cffde81e2d289bd5514..dcef0ab644ee53060e2a66f8f334824e56499f9d 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.9.0
-Release:       2
+Release:       3
 License:       BSD
 Group:         Libraries
 #Source0Download: https://github.com/google/protobuf/releases
@@ -213,6 +213,10 @@ opisów buforów protokołowych (Protocol Buffers).
 # remove for gtest >= 1.9
 #%{__sed} -i -e 's/INSTANTIATE_TEST_SUITE_P/INSTANTIATE_TEST_CASE_P/' src/google/protobuf/{compiler/command_line_interface_unittest.cc,descriptor_unittest.cc,dynamic_message_unittest.cc,map_field_test.cc,util/internal/default_value_objectwriter_test.cc,util/internal/protostream_objectsource_test.cc,util/internal/protostream_objectwriter_test.cc}
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \
+      examples/add_person.py \
+      examples/list_people.py
+
 %build
 %{__libtoolize}
 %{__aclocal} -I m4
This page took 0.107871 seconds and 4 git commands to generate.