summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Rękorajski2020-03-23 22:31:46 (GMT)
committerJan Rękorajski2020-03-23 22:31:46 (GMT)
commit24b4c7d2a1130955196731ff850355000ec894f3 (patch)
tree8c95d58a4c8a3a354b75c44b89f5ec4642f97bb1
parentb525c630eee2051e056ea1802bf356f64ab920d7 (diff)
downloadprotobuf-24b4c7d2a1130955196731ff850355000ec894f3.zip
protobuf-24b4c7d2a1130955196731ff850355000ec894f3.tar.gz
- rel 3
-rw-r--r--protobuf.spec6
1 files changed, 5 insertions, 1 deletions
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