Skip to content

Commit 077685f

Browse files
committed
Use only patch message-from-json.
According to cucumber upstream, it should suffice. link to the discussion: cucumber/common#813
1 parent 60bdfb1 commit 077685f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

rubygem-protobuf.spec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Name: rubygem-%{gem_name}
55
Version: 3.10.3
6-
Release: 1.3%{?dist}
6+
Release: 1.4%{?dist}
77
Summary: Google Protocol Buffers serialization and RPC implementation for Ruby
88
License: MIT
99
URL: https://github.com/localshred/protobuf
@@ -12,11 +12,11 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
1212
# Add message.from_json: https://github.com/ruby-protobuf/protobuf/pull/411
1313
# git clone https://github.com/ruby-protobuf/protobuf && cd protobuf
1414
# git fetch origin pull/411/head:pr-411 && git diff v3.10.3 pr-411 > rubygem-protobuf-3.10.3-message-from-json.patch
15-
# Patch0: %{name}-%{version}-message-from-json.patch
15+
Patch0: %{name}-%{version}-message-from-json.patch
1616
# 64bit integer as json string: https://github.com/ruby-protobuf/protobuf/pull/415
1717
# git clone https://github.com/ruby-protobuf/protobuf && cd protobuf
1818
# git fetch origin pull/415/head:pr-415 && git diff v3.10.3 pr-415 > rubygem-protobuf-3.10.3-64bit-int-as-json.patch
19-
Patch1: %{name}-%{version}-64bit-int-as-json.patch
19+
# Patch1: %{name}-%{version}-64bit-int-as-json.patch
2020
BuildRequires: ruby(release)
2121
BuildRequires: rubygems-devel
2222
BuildRequires: ruby
@@ -49,8 +49,8 @@ Documentation for %{name}.
4949
%prep
5050
%setup -q -n %{gem_name}-%{version}
5151

52-
# %patch0 -p1
53-
%patch1 -p1
52+
%patch0 -p1
53+
# %patch1 -p1
5454

5555
%build
5656
gem build ../%{gem_name}-%{version}.gemspec

0 commit comments

Comments
 (0)