# Generated from fluentd-plugin-kinesis-intuit-2.1.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name fluentd-plugin-kinesis-intuit Name: rubygem-%{gem_name} Version: 2.1.1 Release: 1%{?dist} Summary: Fluentd output plugin that sends events to Amazon Kinesis License: Intuit URL: https://github.intuit.com/cloud-logging/aws-fluent-plugin-kinesis-intuit Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.1 # BuildRequires: rubygem(test-unit) >= 3.0.8 # BuildRequires: rubygem(test-unit-rr) >= 1.0.3 # BuildRequires: rubygem(pry) >= 0.10.1 # BuildRequires: rubygem(pry-byebug) >= 3.3.0 # BuildRequires: rubygem(pry-stack_explorer) >= 0.4.9.2 # BuildRequires: rubygem(net-empty_port) >= 0.0.2 # BuildRequires: rubygem(mocha) >= 1.1.0 # BuildRequires: rubygem(webmock) >= 1.24.2 # BuildRequires: rubygem(fakefs) >= 0.8.1 BuildArch: noarch %description Fluentd output plugin that sends events to Amazon Kinesis. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %build # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} # ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' popd %files %dir %{gem_instdir} %{gem_instdir}/.idea %exclude %{gem_instdir}/.travis.yml %{gem_instdir}/CODE_OF_CONDUCT.md %{gem_instdir}/COMMUNITY.md %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/Makefile %{gem_instdir}/NOTICE.txt %{gem_instdir}/benchmark %{gem_instdir}/gemfiles %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/CONTRIBUTING.md %doc %{gem_instdir}/CONTRIBUTORS.txt %{gem_instdir}/Gemfile %{gem_instdir}/Gemfile.lock %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/fluent-plugin-kinesis.gemspec %changelog * Mon Aug 23 2021 mockbuilder - 2.1.1-1 - Initial package