Skip to content

Commit aa51bd4

Browse files
authored
Remove fluentd version from the dependency (#85)
1 parent 8d6ec8b commit aa51bd4

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/buildall.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,7 @@ CreateGemFile()
199199
cp -f ../builddir/release/lib/Liboutmdsdrb.so ./lib/fluent/plugin/Liboutmdsdrb.so
200200
cp -f ../../LICENSE.txt ../../README.md .
201201

202-
if [ "${Target}" == "system" ]; then
203-
FluentDVersionSpec=">= 1.16"
204-
else
205-
FluentDVersionSpec="~> 0.12.0"
206-
fi
207-
sed "s/GEMVERSION/${Version}/g; s/FLUENTDVERSIONSPEC/${FluentDVersionSpec}/g" gemspec-template > fluent-plugin-mdsd.gemspec
202+
sed "s/GEMVERSION/${Version}/g" gemspec-template > fluent-plugin-mdsd.gemspec
208203

209204
# If Target is 'system', then use gem to build the gem file. Otherwise, use fluent-gem.
210205
GEM_BIN=${RUBY_BIN_PATH}/fluent-gem

src/fluent-plugin-mdsd/gemspec-template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
2323
s.homepage = "https://github.com/Azure/fluentd-plugin-mdsd/"
2424
s.license = "MIT"
2525

26-
s.add_dependency "fluentd", "FLUENTDVERSIONSPEC"
26+
s.add_dependency "fluentd"
2727
s.add_development_dependency "rake"
2828
s.add_development_dependency "test-unit", "~> 3.0.9"
2929
end

0 commit comments

Comments
 (0)