Add rubygems required for building td-agent (#3214)
* Add gems for fluentd, move from extended if needed
* Add list of files to fluentd.gemspec
* use gem_name macro
* Add rake-compiler from extended, bin in asciidoctor, fix dependency, fix file in regex-type
* Add elasticsearch gems
* Fix map, remove default gems, linting, merge issues with main
* Add rubygems, add provides
* Fix error in nokogiri and rdkafka gems
* Change versions in rubygems as required by td-agent
* Add gems faraday
* Add remaining rubygem-faraday-* and update cgmanifest
* Add gems version as required
* Add libs, net-http-persistent
* Add connection_pool
* Fix changelogs
* Fix licenses-map, sourceURL for cblstorage
* Fix for PR checks
* Fix build break in rubygem-parallel
* Fix gems giving installation errors - part1
* Add bindata, add libs
* Add libs, remove gems not required
* fix noarch, add macro in path of bin file
* update license file
* Update release numbers, add downgrade in changelog
* Clean up rubygem-metaclass
* Remove adding files from source in rubygem-parallel
* Update license-map
2022-08-05 22:25:20 +03:00
|
|
|
%global debug_package %{nil}
|
|
|
|
%global gem_name rdkafka
|
|
|
|
Summary: Modern Kafka client library for Ruby based on librdkafka
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 0.12.0.beta.4
|
2023-09-22 00:10:15 +03:00
|
|
|
Release: 2%{?dist}
|
Add rubygems required for building td-agent (#3214)
* Add gems for fluentd, move from extended if needed
* Add list of files to fluentd.gemspec
* use gem_name macro
* Add rake-compiler from extended, bin in asciidoctor, fix dependency, fix file in regex-type
* Add elasticsearch gems
* Fix map, remove default gems, linting, merge issues with main
* Add rubygems, add provides
* Fix error in nokogiri and rdkafka gems
* Change versions in rubygems as required by td-agent
* Add gems faraday
* Add remaining rubygem-faraday-* and update cgmanifest
* Add gems version as required
* Add libs, net-http-persistent
* Add connection_pool
* Fix changelogs
* Fix licenses-map, sourceURL for cblstorage
* Fix for PR checks
* Fix build break in rubygem-parallel
* Fix gems giving installation errors - part1
* Add bindata, add libs
* Add libs, remove gems not required
* fix noarch, add macro in path of bin file
* update license file
* Update release numbers, add downgrade in changelog
* Clean up rubygem-metaclass
* Remove adding files from source in rubygem-parallel
* Update license-map
2022-08-05 22:25:20 +03:00
|
|
|
License: MIT
|
|
|
|
Vendor: Microsoft Corporation
|
|
|
|
Distribution: Mariner
|
|
|
|
Group: Development/Languages
|
|
|
|
URL: https://github.com/appsignal/rdkafka-ruby
|
|
|
|
Source0: https://github.com/appsignal/rdkafka-ruby/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-ruby-%{version}.tar.gz
|
|
|
|
Patch0: librdkafka.patch
|
|
|
|
Patch1: fix-file_list.patch
|
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: librdkafka-devel
|
|
|
|
BuildRequires: librdkafka1
|
|
|
|
BuildRequires: ruby
|
|
|
|
BuildRequires: rubygem-mini_portile2
|
|
|
|
BuildRequires: rubygem-rake
|
|
|
|
Requires: rubygem-mini_portile2
|
|
|
|
Requires: rubygem-rake
|
|
|
|
Provides: rubygem(%{gem_name}) = %{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
The rdkafka gem is a modern Kafka client library for Ruby based on librdkafka.
|
|
|
|
It wraps the production-ready C client using the ffi gem and targets Kafka 1.0+ and Ruby 2.4+.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n rdkafka-ruby-%{version}
|
|
|
|
patch -p1 < %{PATCH0}
|
|
|
|
patch -p1 < %{PATCH1}
|
|
|
|
|
|
|
|
%build
|
|
|
|
gem build %{gem_name}
|
|
|
|
|
|
|
|
%install
|
|
|
|
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%license %{gemdir}/gems/%{gem_name}-%{version}/LICENSE
|
|
|
|
%{gemdir}
|
|
|
|
|
|
|
|
%changelog
|
2023-09-22 00:10:15 +03:00
|
|
|
* Wed Sep 20 2023 Jon Slobodzian <joslobo@microsoft.com> - 0.12.0.beta.4-2
|
|
|
|
- Recompile with stack-protection fixed gcc version (CVE-2023-4039)
|
|
|
|
|
Add rubygems required for building td-agent (#3214)
* Add gems for fluentd, move from extended if needed
* Add list of files to fluentd.gemspec
* use gem_name macro
* Add rake-compiler from extended, bin in asciidoctor, fix dependency, fix file in regex-type
* Add elasticsearch gems
* Fix map, remove default gems, linting, merge issues with main
* Add rubygems, add provides
* Fix error in nokogiri and rdkafka gems
* Change versions in rubygems as required by td-agent
* Add gems faraday
* Add remaining rubygem-faraday-* and update cgmanifest
* Add gems version as required
* Add libs, net-http-persistent
* Add connection_pool
* Fix changelogs
* Fix licenses-map, sourceURL for cblstorage
* Fix for PR checks
* Fix build break in rubygem-parallel
* Fix gems giving installation errors - part1
* Add bindata, add libs
* Add libs, remove gems not required
* fix noarch, add macro in path of bin file
* update license file
* Update release numbers, add downgrade in changelog
* Clean up rubygem-metaclass
* Remove adding files from source in rubygem-parallel
* Update license-map
2022-08-05 22:25:20 +03:00
|
|
|
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 0.12.0.beta.4-1
|
|
|
|
- Update to v0.12.0.beta.4.
|
|
|
|
- Build from .tar.gz source.
|
|
|
|
|
|
|
|
* Tue Jan 05 2021 Henry Li <lihl@microsoft.com> - 0.7.0-1
|
|
|
|
- License verified
|
|
|
|
- Original version for CBL-Mariner
|