Skip to content

Commit d45cfd6

Browse files
committed
Initial package.
1 parent 5a797d1 commit d45cfd6

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

rubygem-protobuf.spec

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ BuildRequires: rubygem(rspec) >= 3.0
1818
# BuildRequires: rubygem(yard)
1919
# BuildRequires: rubygem(varint)
2020
# BuildRequires: rubygem(ruby-prof)
21+
BuildRequires: rubygem(middleware)
22+
BuildRequires: rubygem(activesupport)
23+
BuildRequires: rubygem(timecop)
2124
BuildArch: noarch
2225

2326
%description
@@ -55,7 +58,10 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
5558
pushd .%{gem_instdir}
5659

5760
# Avoid bundler dependency
58-
sed -i '/require .bundler./ s/^/#/g' spec/spec_helper.rb
61+
sed -i -e '/require .pry./ s/^/#/g' \
62+
-e '/require .bundler./ s/^/#/g' \
63+
-e '/^Bundler\./ s/^/#/g' \
64+
spec/spec_helper.rb
5965

6066
rspec spec
6167
popd

0 commit comments

Comments
 (0)