[packages/protobuf] - fix shebangs - rel 3
baggins
baggins at pld-linux.org
Mon Mar 23 23:34:06 CET 2020
commit 24b4c7d2a1130955196731ff850355000ec894f3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Mar 23 23:31:46 2020 +0100
- fix shebangs
- rel 3
protobuf.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/protobuf.spec b/protobuf.spec
index 49308b8..dcef0ab 100644
--- a/protobuf.spec
+++ b/protobuf.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/protobuf.git/commitdiff/24b4c7d2a1130955196731ff850355000ec894f3
More information about the pld-cvs-commit
mailing list