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
This commit is contained in:
Neha Agarwal 2022-08-05 12:25:20 -07:00 коммит произвёл GitHub
Родитель 30a6bda2c8
Коммит 969c4e8058
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
243 изменённых файлов: 5275 добавлений и 274 удалений

Просмотреть файл

@ -1,5 +0,0 @@
{
"Signatures": {
"asciidoctor-2.0.17.tar.gz": "ca939b978d5d3bfe0cfcf1bcf5513f199aa77813e4a19f568dc6b6f17b892728"
}
}

Просмотреть файл

@ -1,5 +0,0 @@
{
"Signatures": {
"rspec-metagem-3.9.0.tar.gz": "5636dc41a0947fae173a7834d9db6c9e4606c237c7a96169deea0396a3236ac8"
}
}

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -2054,24 +2054,109 @@
"python-yamlloader",
"R",
"rocksdb",
"rubygem-addressable",
"rubygem-asciidoctor",
"rubygem-async",
"rubygem-async-http",
"rubygem-async-io",
"rubygem-async-pool",
"rubygem-aws-eventstream",
"rubygem-aws-partitions",
"rubygem-aws-sdk-core",
"rubygem-aws-sdk-kms",
"rubygem-aws-sdk-s3",
"rubygem-aws-sdk-sqs",
"rubygem-aws-sigv4",
"rubygem-bigdecimal",
"rubygem-bindata",
"rubygem-concurrent-ruby",
"rubygem-connection_pool",
"rubygem-console",
"rubygem-cool.io",
"rubygem-deep_merge",
"rubygem-digest-crc",
"rubygem-elastic-transport",
"rubygem-elasticsearch",
"rubygem-elasticsearch-api",
"rubygem-eventmachine",
"rubygem-excon",
"rubygem-faraday",
"rubygem-faraday-em_http",
"rubygem-faraday-em_synchrony",
"rubygem-faraday-excon",
"rubygem-faraday-httpclient",
"rubygem-faraday-multipart",
"rubygem-faraday-net_http",
"rubygem-faraday-net_http_persistent",
"rubygem-faraday-patron",
"rubygem-faraday-rack",
"rubygem-faraday-retry",
"rubygem-ffi",
"rubygem-fiber-local",
"rubygem-fluent-config-regexp-type",
"rubygem-fluent-logger",
"rubygem-fluent-plugin-elasticsearch",
"rubygem-fluent-plugin-kafka",
"rubygem-fluent-plugin-prometheus",
"rubygem-fluent-plugin-prometheus_pushgateway",
"rubygem-fluent-plugin-record-modifier",
"rubygem-fluent-plugin-rewrite-tag-filter",
"rubygem-fluent-plugin-s3",
"rubygem-fluent-plugin-systemd",
"rubygem-fluent-plugin-td",
"rubygem-fluent-plugin-webhdfs",
"rubygem-fluent-plugin-windows-exporter",
"rubygem-fluentd",
"rubygem-hirb",
"rubygem-hocon",
"rubygem-hoe",
"rubygem-http_parser.rb",
"rubygem-httpclient",
"rubygem-io-event",
"rubygem-jmespath",
"rubygem-ltsv",
"rubygem-mini_portile2",
"rubygem-minitest",
"rubygem-mocha",
"rubygem-msgpack",
"rubygem-multi_json",
"rubygem-multipart-post",
"rubygem-net-http-persistent",
"rubygem-nio4r",
"rubygem-nokogiri",
"rubygem-oj",
"rubygem-parallel",
"rubygem-power_assert",
"rubygem-prometheus-client",
"rubygem-protocol-hpack",
"rubygem-protocol-http",
"rubygem-protocol-http1",
"rubygem-protocol-http2",
"rubygem-public_suffix",
"rubygem-puppet-resource_api",
"rubygem-rdiscount",
"rubygem-rdkafka",
"rubygem-rexml",
"rubygem-ruby-kafka",
"rubygem-ruby-progressbar",
"rubygem-rubyzip",
"rubygem-semantic_puppet",
"rubygem-serverengine",
"rubygem-sigdump",
"rubygem-strptime",
"rubygem-systemd-journal",
"rubygem-td",
"rubygem-td-client",
"rubygem-td-logger",
"rubygem-test-unit",
"rubygem-thor",
"rubygem-timers",
"rubygem-tzinfo",
"rubygem-tzinfo-data",
"rubygem-webhdfs",
"rubygem-webrick",
"rubygem-yajl-ruby",
"rubygem-zip-zip",
"sdbus-cpp",
"shim",
"shim-unsigned",

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"addressable-addressable-2.8.0.tar.gz": "ce5adc6636e9222897886fca3b07398c8a00c6604c3a9acba715761da201fe19"
}
}

Просмотреть файл

@ -0,0 +1,45 @@
%global debug_package %{nil}
%global gem_name addressable
Summary: an alternative implementation to the URI implementation that is part of Ruby's standard library
Name: rubygem-%{gem_name}
Version: 2.8.0
Release: 2%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/sporkmonger/addressable
Source0: https://github.com/sporkmonger/addressable/archive/refs/tags/addressable-%{version}.tar.gz#/%{gem_name}-%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Requires: rubygem-public_suffix < 5.0
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Addressable is an alternative implementation to the URI implementation that is
part of Ruby's standard library. It offers heuristic parsing, and additionally
provides extensive support for IRIs and URI templates.
%prep
%setup -q -n %{gem_name}-%{gem_name}-%{version}
%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.txt
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 2.8.0-2
- Build from .tar.gz source.
* Thu Aug 04 2021 Nicolas Guibourge <nicolasg@microsoft.com> - 2.8.0-1
- Move to 2.8.0 to fix CVE-2021-32740
* Mon Jan 04 2021 Henry Li <lihl@microsoft.com> - 2.7.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"asciidoctor-2.0.17.tar.gz": "ca939b978d5d3bfe0cfcf1bcf5513f199aa77813e4a19f568dc6b6f17b892728"
}
}

Просмотреть файл

@ -1,10 +1,9 @@
%global debug_package %{nil}
%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
%global gem_name asciidoctor
Summary: A fast, open source AsciiDoc implementation in Ruby
Name: rubygem-%{gem_name}
Version: 2.0.17
Release: 2%{?dist}
Release: 3%{?dist}
Group: Development/Languages
License: MIT
Vendor: Microsoft Corporation
@ -12,6 +11,7 @@ Distribution: Mariner
URL: https://asciidoctor.org/
Source0: https://github.com/%{gem_name}/%{gem_name}/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
A fast, open source AsciiDoc implementation in Ruby.
@ -31,7 +31,7 @@ Documentation for %{name}
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} --bindir %{buildroot}%{_bindir} %{gem_name}-%{version}.gem
%files
%dir %{gem_instdir}
@ -45,7 +45,7 @@ gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-
%{gem_instdir}/data
%{gem_libdir}
%{gem_spec}
%{gemdir}/bin/asciidoctor
%{_bindir}/asciidoctor
%{gem_instdir}/bin
%{gem_instdir}/man/asciidoctor.*
%exclude %{gem_cache}
@ -55,6 +55,9 @@ gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-
%doc %{gem_docdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 2.0.17-3
- Add provides, bindir
* Sun Apr 24 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.0.17-2
- Fixing build with ruby macros for Ruby 3.1.2.
@ -64,4 +67,4 @@ gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-
* Tue Dec 28 2021 Suresh Babu Chalamalasetty <schalam@microsoft.com> - 2.0.15-1
- Original version for CBL-Mariner
- License verified
- License verified

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"async-http-0.56.5.tar.gz": "1f43c3a8fcaa93a59b8f2f21256942c94bd501d0caeccfadd3ae0a336864f2ba"
}
}

Просмотреть файл

@ -0,0 +1,47 @@
%global debug_package %{nil}
%global gem_name async-http
Summary: A HTTP client and server library
Name: rubygem-%{gem_name}
Version: 0.56.5
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/socketry/async-http
Source0: https://github.com/socketry/async-http/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Requires: rubygem-async
Requires: rubygem-async-io
Requires: rubygem-async-pool
Requires: rubygem-protocol-http
Requires: rubygem-protocol-http1
Requires: rubygem-protocol-http2
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
An asynchronous client and server implementation of HTTP/1.0,
HTTP/1.1 and HTTP/2 including TLS. Support for streaming requests
and responses.
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 0.56.5-1
- Update to v0.56.5.
- Build from .tar.gz source.
* Mon Jan 04 2021 Henry Li <lihl@microsoft.com> - 0.50.13-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"async-io-1.33.0.tar.gz": "33ad6264f0070fb1568cd02fd5c89b4705b86b878f7f5a7b2441af6d7ff03c90"
}
}

Просмотреть файл

@ -0,0 +1,41 @@
%global debug_package %{nil}
%global gem_name async-io
Summary: Concurrent wrappers for native Ruby IO & Sockets
Name: rubygem-%{gem_name}
Version: 1.33.0
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/socketry/async-io
Source0: https://github.com/socketry/async-io/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Requires: rubygem-async
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Async::IO provides builds on async and provides asynchronous
wrappers for IO, Socket, and related classes.
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.33.0-1
- Update to v1.33.0.
- Build from .tar.gz source.
* Mon Jan 04 2021 Henry Li <lihl@microsoft.com> - 1.30.1-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,11 @@
diff -ruN a/async-pool.gemspec b/async-pool.gemspec
--- a/async-pool.gemspec 2021-09-30 03:11:11.000000000 -0700
+++ b/async-pool.gemspec 2022-04-09 11:08:39.040169139 -0700
@@ -10,7 +10,6 @@
spec.license = "MIT"
spec.cert_chain = ['release.cert']
- spec.signing_key = File.expand_path('~/.gem/release.pem')
spec.homepage = "https://github.com/socketry/async-pool"

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"async-pool-0.3.9.tar.gz": "803f2841da312dd3d25c1b1249fb33c5264497d657e168460a2874b416ef4e03"
}
}

Просмотреть файл

@ -0,0 +1,41 @@
%global debug_package %{nil}
%global gem_name async-pool
Summary: Provides support for connection pooling both singleplex and multiplex resources
Name: rubygem-%{gem_name}
Version: 0.3.9
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/socketry/async-pool
Source0: https://github.com/socketry/async-pool/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
Patch0: remove-pem.patch
BuildRequires: ruby
Requires: rubygem-async
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Provides support for connection pooling both singleplex and multiplex resources.
%prep
%autosetup -p1 -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 0.3.9-1
- Update to v0.3.9.
- Build from .tar.gz source.
* Mon Jan 04 2021 Henry Li <lihl@microsoft.com> - 0.3.3-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"async-1.30.2.tar.gz": "576b8b2fb4625aeffb7eb0f5f60969fc01185d0f20abfebbdfb01dbfebc96766"
}
}

Просмотреть файл

@ -0,0 +1,43 @@
%global debug_package %{nil}
%global gem_name async
Summary: An awesome asynchronous event-driven reactor for Ruby
Name: rubygem-%{gem_name}
Version: 1.30.2
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/socketry/async
Source0: https://github.com/socketry/async/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Requires: rubygem-console
Requires: rubygem-nio4r
Requires: rubygem-timers
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Async is a composable asynchronous I/O framework
for Ruby based on nio4r and timers.
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.30.2-1
- Update to v1.30.2.
- Build from .tar.gz source.
* Mon Jan 04 2021 Henry Li <lihl@microsoft.com> - 1.27.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"aws-eventstream-1.2.0.tar.gz": "33220bdef3090fc8ade06bfd3f999cdb78d3a5adc0a292479e210ce12b067ebf"
}
}

Просмотреть файл

@ -0,0 +1,44 @@
%global debug_package %{nil}
%global gem_name aws-eventstream
Summary: Amazon Web Services event stream library
Name: rubygem-%{gem_name}
Version: 1.2.0
Release: 1%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/aws/aws-sdk-ruby
# To recreate the tar.gz run the following
# sudo git clone git@github.com:aws/aws-sdk-ruby.git
# cd gems/%{gem_name}
# sudo mv %{gem_name} %{gem_name}-%{version} (find version from the VERSION file)
# sudo tar -cvf %{gem_name}-%{version}.tar.gz %{gem_name}-%{version}/
Source0: %{_mariner_sources_url}/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Amazon Web Services event stream library.
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.2.0-1
- Update to v1.2.0.
- Build from .tar.gz source.
* Tue Jan 05 2021 Henry Li <lihl@microsoft.com> - 1.1.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"aws-partitions-1.576.0.tar.gz": "d14050d1b2d200731155dd77f3a6bffbde781c7ba30e6ef68af930d11929b078"
}
}

Просмотреть файл

@ -0,0 +1,45 @@
%global debug_package %{nil}
%global gem_name aws-partitions
Summary: Provides interfaces to enumerate AWS partitions, regions, and services
Name: rubygem-%{gem_name}
Version: 1.576.0
Release: 1%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/aws/aws-sdk-ruby
# To recreate the tar.gz run the following
# sudo git clone git@github.com:aws/aws-sdk-ruby.git
# cd gems/%{gem_name}
# sudo mv %{gem_name} %{gem_name}-%{version} (find version from the VERSION file)
# sudo tar -cvf %{gem_name}-%{version}.tar.gz %{gem_name}-%{version}/
Source0: %{_mariner_sources_url}/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Provides interfaces to enumerate AWS partitions, regions,
and services.
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.576.0-1
- Update to v1.576.0.
- Build from .tar.gz source.
* Tue Jan 05 2021 Henry Li <lihl@microsoft.com> - 1.288.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"aws-sdk-core-3.130.1.tar.gz": "049d3f0864e1489526f9f454c384b42d15b55af34d0e2619e6699525d36f0fff"
}
}

Просмотреть файл

@ -0,0 +1,44 @@
%global debug_package %{nil}
%global gem_name aws-sdk-core
Summary: Provides API clients for AWS
Name: rubygem-%{gem_name}
Version: 3.130.1
Release: 1%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/aws/aws-sdk-ruby
# To recreate the tar.gz run the following
# sudo git clone git@github.com:aws/aws-sdk-ruby.git
# cd gems/%{gem_name}
# sudo mv %{gem_name} %{gem_name}-%{version} (find version from the VERSION file)
# sudo tar -cvf %{gem_name}-%{version}.tar.gz %{gem_name}-%{version}/
Source0: %{_mariner_sources_url}/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Provides API clients for AWS
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 3.130.1-1
- Update to v3.130.1.
- Build from .tar.gz source.
* Tue Jan 05 2021 Henry Li <lihl@microsoft.com> - 3.92.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"aws-sdk-kms-1.55.0.tar.gz": "2cc2e38e9a58d7c6a8e43658c6dad7294c24d9fd70e409c86291f5a98222282b"
}
}

Просмотреть файл

@ -0,0 +1,45 @@
%global debug_package %{nil}
%global gem_name aws-sdk-kms
Summary: Official AWS Ruby gem for AWS Key Management Service (KMS)
Name: rubygem-%{gem_name}
Version: 1.55.0
Release: 1%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/aws/aws-sdk-ruby
# To recreate the tar.gz run the following
# sudo git clone git@github.com:aws/aws-sdk-ruby.git
# cd gems/%{gem_name}
# sudo mv %{gem_name} %{gem_name}-%{version} (find version from the VERSION file)
# sudo tar -cvf %{gem_name}-%{version}.tar.gz %{gem_name}-%{version}/
Source0: %{_mariner_sources_url}/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Requires: rubygem-aws-sdk-core
Requires: rubygem-aws-sigv4
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Official AWS Ruby gem for AWS Key Management Service (KMS)
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.55.0-1
- Update to v1.55.0.
- Build from .tar.gz source.
* Tue Jan 05 2021 Henry Li <lihl@microsoft.com> - 1.30.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"aws-sdk-s3-1.113.0.tar.gz": "6f200da23aca4d96d4fadb898c9667b120c042681bfb04d3b78a4381cbf06ee8"
}
}

Просмотреть файл

@ -0,0 +1,47 @@
%global debug_package %{nil}
%global gem_name aws-sdk-s3
Summary: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3)
Name: rubygem-%{gem_name}
Version: 1.113.0
Release: 1%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/aws/aws-sdk-ruby
# To recreate the tar.gz run the following
# sudo git clone git@github.com:aws/aws-sdk-ruby.git
# cd gems/%{gem_name}
# sudo mv %{gem_name} %{gem_name}-%{version} (find version from the VERSION file)
# sudo tar -cvf %{gem_name}-%{version}.tar.gz %{gem_name}-%{version}/
Source0: %{_mariner_sources_url}/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Requires: rubygem-aws-sdk-core
Requires: rubygem-aws-sdk-kms
Requires: rubygem-aws-sigv4
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3)
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.113.0-1
- Update to v1.113.0.
- Build from .tar.gz source.
* Tue Jan 05 2021 Henry Li <lihl@microsoft.com> - 1.61.1-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"aws-sdk-sqs-1.51.0.tar.gz": "2209a38488001c67172369d38f53ac7cebf87d1321c6f8a591975bbf21504001"
}
}

Просмотреть файл

@ -0,0 +1,46 @@
%global debug_package %{nil}
%global gem_name aws-sdk-sqs
Summary: Official AWS Ruby gem for Amazon Simple Queue Service (Amazon SQS)
Name: rubygem-%{gem_name}
Version: 1.51.0
Release: 1%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/aws/aws-sdk-ruby
# To recreate the tar.gz run the following
# sudo git clone git@github.com:aws/aws-sdk-ruby.git
# cd gems/%{gem_name}
# sudo mv %{gem_name} %{gem_name}-%{version} (find version from the VERSION file)
# sudo tar -cvf %{gem_name}-%{version}.tar.gz %{gem_name}-%{version}/
Source0: %{_mariner_sources_url}/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Requires: rubygem-aws-sdk-core
Requires: rubygem-aws-sigv4
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Official AWS Ruby gem for Amazon Simple Queue Service (Amazon SQS)
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.51.0-1
- Update to v1.51.0.
- Build from .tar.gz source.
* Tue Jan 05 2021 Henry Li <lihl@microsoft.com> - 1.24.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"aws-sigv4-1.4.0.tar.gz": "69b28dcab2fccdea88a8be7170af10c745c9a33dd31509f50505ec551f85f0ed"
}
}

Просмотреть файл

@ -0,0 +1,46 @@
%global debug_package %{nil}
%global gem_name aws-sigv4
Summary: Amazon Web Services Signature Version 4 signing library
Name: rubygem-aws-sigv4
Version: 1.4.0
Release: 1%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/aws/aws-sdk-ruby
# To recreate the tar.gz run the following
# sudo git clone git@github.com:aws/aws-sdk-ruby.git
# cd gems/%{gem_name}
# sudo mv %{gem_name} %{gem_name}-%{version} (find version from the VERSION file)
# sudo tar -cvf %{gem_name}-%{version}.tar.gz %{gem_name}-%{version}/
Source0: %{_mariner_sources_url}/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Requires: rubygem-aws-eventstream
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Amazon Web Services Signature Version 4 signing library.
Generates sigv4 signature for HTTP requests.
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.4.0-1
- Update to v1.4.0.
- Build from .tar.gz source.
* Tue Jan 05 2021 Henry Li <lihl@microsoft.com> - 1.1.1-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,12 @@
diff -ruN a/bindata.gemspec b/bindata.gemspec
--- a/bindata.gemspec 2021-05-17 20:40:07.000000000 -0700
+++ b/bindata.gemspec 2022-06-30 19:46:59.489361986 -0700
@@ -12,7 +12,7 @@
s.require_path = 'lib'
s.extra_rdoc_files = ['NEWS.rdoc']
s.rdoc_options << '--main' << 'NEWS.rdoc'
- s.files = `git ls-files`.split("\n")
+ s.files = Dir['**/*']
s.license = 'Ruby'
s.add_development_dependency('rake')

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"bindata-2.4.10.tar.gz": "5863330b228747cf180e631375c888278780e59e874fb4ee64cf50bcf4a0b0fa"
}
}

Просмотреть файл

@ -0,0 +1,43 @@
%global debug_package %{nil}
%global gem_name bindata
Summary: BinData - Parsing Binary Data in Ruby
Name: rubygem-%{gem_name}
Version: 2.4.10
Release: 1%{?dist}
License: BSD
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/dmendel/bindata
Source0: https://github.com/dmendel/bindata/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
Patch0: fix-file_list.patch
BuildRequires: git
BuildRequires: ruby
Requires: ruby(release)
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
BinData provides a declarative way to read and write structured binary data.
This means the programmer specifies what the format of the binary data is, and BinData works out how to read and write data in this format. It is an easier (and more readable) alternative to ruby's #pack and #unpack methods.
BinData makes it easy to create new data types. It supports all the common primitive datatypes that are found in structured binary data formats. Support for dependent and variable length fields is built in.
%prep
%autosetup -p1 -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%doc %{gemdir}/gems/%{gem_name}-%{version}/BSDL
%{gemdir}
%changelog
* Mon Jun 13 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 2.4.10-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,16 @@
diff -ruN a/connection_pool.gemspec b/connection_pool.gemspec
--- a/connection_pool.gemspec 2021-04-14 08:09:49.000000000 -0700
+++ b/connection_pool.gemspec 2022-07-03 16:54:10.076388828 -0700
@@ -9,9 +9,9 @@
s.homepage = "https://github.com/mperham/connection_pool"
s.description = s.summary = "Generic connection pool for Ruby"
- s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
+ s.files = Dir['**/*']
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
+ s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.license = "MIT"
s.add_development_dependency "bundler"

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"connection_pool-2.2.5.tar.gz": "81d3b982a1c523e0614322b0c701f1dc4a71e7281ea409689be2c6608b0920dd"
}
}

Просмотреть файл

@ -0,0 +1,39 @@
%global debug_package %{nil}
%global gem_name connection_pool
Summary: Generic connection pooling for Ruby
Name: rubygem-%{gem_name}
Version: 2.2.5
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/mperham/connection_pool
Source0: https://github.com/mperham/connection_pool/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
Patch0: fix-file_list.patch
BuildRequires: git
BuildRequires: ruby
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Generic connection pooling for Ruby
MongoDB has its own connection pool. ActiveRecord has its own connection pool. This is a generic connection pool that can be used with anything, e.g. Redis, Dalli and other Ruby network clients.
%prep
%autosetup -p1 -n %{gem_name}-%{version}
%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
* Mon Jun 13 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 2.2.5-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -1,10 +1,9 @@
%global debug_package %{nil}
%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
%global gem_name console
Summary: Logging for Ruby
Name: rubygem-console
Version: 1.10.1
Release: 2%{?dist}
Release: 3%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
@ -13,6 +12,7 @@ URL: https://socketry.github.io/console/
Source0: https://github.com/socketry/console/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Requires: rubygem-fiber-local
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Provides console logging for Ruby applications.
@ -32,9 +32,12 @@ gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-
%{gemdir}
%changelog
* Tue Jul 19 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.10.1-3
- Add provides.
* Tue Mar 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.10.1-2
- Build from .tar.gz source.
* Wed Jan 06 2021 Henry Li <lihl@microsoft.com> - 1.10.1-1
- License verified
- Original version for CBL-Mariner
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,16 @@
diff -ruN a/cool.io.gemspec b/cool.io.gemspec
--- a/cool.io.gemspec 2021-02-16 15:13:41.000000000 -0800
+++ b/cool.io.gemspec 2022-07-03 15:56:02.777359145 -0700
@@ -13,9 +13,9 @@
s.extensions = ["ext/cool.io/extconf.rb", "ext/iobuffer/extconf.rb"]
s.licenses = ["MIT"]
- s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.files = Dir['**/*']
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
+ s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_development_dependency "rake-compiler", "~> 1.0"

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"cool.io-1.7.1.tar.gz": "64d6921b052f9e5894eef42b5b2d053ce62a933fe57c79b6c51a928bd1d77c89"
}
}

Просмотреть файл

@ -0,0 +1,43 @@
%global debug_package %{nil}
%global gem_name cool.io
Summary: Simple evented I/O for Ruby
Name: rubygem-cool.io
Version: 1.7.1
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/tarcieri/cool.io
Source0: https://github.com/tarcieri/cool.io/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
Patch0: fix-file_list.patch
BuildRequires: git
BuildRequires: ruby
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
An event library for Ruby, built on the libev event library
which provides a cross-platform interface to high performance system calls.
%prep
%autosetup -p1 -n %{gem_name}-%{version}
%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
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.7.1-1
- Update to v1.7.1.
- Build from .tar.gz source.
* Mon Jan 04 2021 Henry Li <lihl@microsoft.com> - 1.6.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,28 @@
diff -ruN a/digest-crc.gemspec b/digest-crc.gemspec
--- a/digest-crc.gemspec 2021-07-24 22:59:15.000000000 -0700
+++ b/digest-crc.gemspec 2022-07-07 10:05:33.585663004 -0700
@@ -22,19 +22,11 @@
gem.homepage = gemspec['homepage']
gem.metadata = gemspec['metadata'] if gemspec['metadata']
- glob = lambda { |patterns| gem.files & Dir[*patterns] }
-
- gem.files = `git ls-files`.split($/)
- gem.files = glob[gemspec['files']] if gemspec['files']
-
- gem.executables = gemspec.fetch('executables') do
- glob['bin/*'].map { |path| File.basename(path) }
- end
- gem.default_executable = gem.executables.first if Gem::VERSION < '1.7.'
-
- gem.extensions = glob[gemspec['extensions'] || 'ext/**/extconf.rb']
- gem.test_files = glob[gemspec['test_files'] || '{test/{**/}*_test.rb']
- gem.extra_rdoc_files = glob[gemspec['extra_doc_files'] || '*.{txt,md}']
+ gem.files = Dir['**/*']
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.extensions = gem.files.grep(%r{^(ext/**/extconf.rb)})
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
+ gem.extra_rdoc_files = ['LICENSE.txt', 'ChangeLog.md', 'README.md']
gem.require_paths = Array(gemspec.fetch('require_paths') {
%w[ext lib].select { |dir| File.directory?(dir) }

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"digest-crc-0.6.4.tar.gz": "adaf3919c60b07ae430630a0a633d11ba03dc2803d06bf1c2c974c80a1f7fcde"
}
}

Просмотреть файл

@ -0,0 +1,43 @@
%global debug_package %{nil}
%global gem_name digest-crc
Summary: A Cyclic Redundancy Check (CRC) library for Ruby.
Name: rubygem-digest-crc
Version: 0.6.4
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/postmodern/digest-crc
Source0: https://github.com/postmodern/digest-crc/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
Patch0: fix-file_list.patch
BuildRequires: git
BuildRequires: ruby
Requires: rubygem-rake < 14.0.0
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Adds support for calculating Cyclic Redundancy Check (CRC) to the Digest module.
%prep
%autosetup -p1 -n %{gem_name}-%{version}
%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.txt
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 0.6.4-1
- Update to v0.6.4.
- Build from .tar.gz source.
* Tue Jan 05 2021 Henry Li <lihl@microsoft.com> - 0.6.1-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,12 @@
diff -ruN a/elastic-transport.gemspec b/elastic-transport.gemspec
--- a/elastic-transport.gemspec 2022-02-10 03:33:41.000000000 -0800
+++ b/elastic-transport.gemspec 2022-07-06 18:07:43.025670948 -0700
@@ -34,7 +34,7 @@
'source_code_uri' => 'https://github.com/elastic/elastic-transport-ruby',
'bug_tracker_uri' => 'https://github.com/elastic/elastic-transport-ruby/issues'
}
- s.files = `git ls-files`.split($/)
+ s.files = Dir['**/*']
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = ['lib']

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"elastic-transport-ruby-8.0.1.tar.gz": "60d148b4bbc9b061f9fb357851f1020f885fb7f273c3472e1be277de2e1f1797"
}
}

Просмотреть файл

@ -0,0 +1,40 @@
%global debug_package %{nil}
%global gem_name elastic-transport
Summary: Transport classes and utilities shared among Ruby Elastic client libraries
Name: rubygem-%{gem_name}
Version: 8.0.1
Release: 1%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/elastic/elastic-transport-ruby
Source0: https://github.com/elastic/elastic-transport-ruby/archive/refs/tags/v%{version}.tar.gz#/elastic-transport-ruby-%{version}.tar.gz
Patch0: fix-file_list.patch
BuildRequires: git
BuildRequires: ruby
Requires: rubygem-faraday
Requires: rubygem-multi_json
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
This gem provides a low-level Ruby client for connecting to an Elastic cluster. It powers both the Elasticsearch client and the Elastic Enterprise Search client.
%prep
%autosetup -p1 -n %{gem_name}-ruby-%{version}
%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
* Tue May 31 2021 Neha Agarwal <nehaagarwal@microsoft.com> - 8.0.1-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,12 @@
diff -ruN a/elasticsearch-api/elasticsearch-api.gemspec b/elasticsearch-api/elasticsearch-api.gemspec
--- a/elasticsearch-api/elasticsearch-api.gemspec 2022-07-07 09:28:16.348440261 -0700
+++ b/elasticsearch-api/elasticsearch-api.gemspec 2022-07-07 09:28:50.040817530 -0700
@@ -34,7 +34,7 @@
'source_code_uri' => 'https://github.com/elastic/elasticsearch-ruby/tree/main/elasticsearch-api',
'bug_tracker_uri' => 'https://github.com/elastic/elasticsearch-ruby/issues'
}
- s.files = `git ls-files`.split($/)
+ s.files = Dir['**/*']
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = ['lib']

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"elasticsearch-ruby-8.3.0.tar.gz": "1893a1b9f48874f4cac107ed762e1daf8e980f287692c75c4579820f172afdd5"
}
}

Просмотреть файл

@ -0,0 +1,46 @@
%global debug_package %{nil}
%global gem_name elasticsearch-api
Summary: Ruby API for Elasticsearch
Name: rubygem-%{gem_name}
Version: 8.3.0
Release: 1%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/index.html
Source0: https://github.com/elastic/elasticsearch-ruby/archive/refs/tags/v%{version}.tar.gz#/elasticsearch-ruby-%{version}.tar.gz
Patch0: fix-file_list.patch
BuildRequires: git
BuildRequires: ruby
Requires: rubygem-multi_json
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
The elasticsearch-api library provides a Ruby implementation
of the Elasticsearch REST API.
%prep
%autosetup -p1 -n elasticsearch-ruby-%{version}
%build
cd %{gem_name}
gem build %{gem_name}
%install
cd %{gem_name}
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%license %{gemdir}/gems/%{gem_name}-%{version}/LICENSE.txt
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 8.3.0-1
- Update to v8.3.0.
- Build from .tar.gz source.
* Tue Jan 05 2021 Henry Li <lihl@microsoft.com> - 7.6.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,12 @@
diff -ruN a/elasticsearch/elasticsearch.gemspec b/elasticsearch/elasticsearch.gemspec
--- a/elasticsearch/elasticsearch.gemspec 2022-07-07 09:24:12.069738351 -0700
+++ b/elasticsearch/elasticsearch.gemspec 2022-07-07 09:25:33.998637120 -0700
@@ -33,7 +33,7 @@
'source_code_uri' => 'https://github.com/elastic/elasticsearch-ruby/tree/main',
'bug_tracker_uri' => 'https://github.com/elastic/elasticsearch-ruby/issues'
}
- s.files = `git ls-files`.split($/)
+ s.files = Dir['**/*']
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.executables << 'elastic_ruby_console'
s.test_files = s.files.grep(%r{^(test|spec|features)/})

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"elasticsearch-ruby-8.3.0.tar.gz": "1893a1b9f48874f4cac107ed762e1daf8e980f287692c75c4579820f172afdd5"
}
}

Просмотреть файл

@ -0,0 +1,46 @@
%global debug_package %{nil}
%global gem_name elasticsearch
Summary: Ruby integrations for Elasticsearch
Name: rubygem-%{gem_name}
Version: 8.3.0
Release: 1%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/elastic/elasticsearch-ruby
Source0: https://github.com/elastic/elasticsearch-ruby/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-ruby-%{version}.tar.gz
Patch0: fix-file_list.patch
BuildRequires: git
BuildRequires: ruby
Requires: rubygem-elastic-transport
Requires: rubygem-elasticsearch-api
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Ruby integrations for Elasticsearch (client, API, etc.)
%prep
%autosetup -p1 -n %{gem_name}-ruby-%{version}
%build
cd %{gem_name}
gem build %{gem_name}
%install
cd %{gem_name}
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%license %{gemdir}/gems/%{gem_name}-%{version}/LICENSE.txt
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 8.3.0-1
- Update to v8.3.0.
- Build from .tar.gz source.
* Mon Jan 04 2021 Henry Li <lihl@microsoft.com> - 7.6.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,19 @@
diff -ruN a/excon.gemspec b/excon.gemspec
--- a/excon.gemspec 2022-07-06 17:58:11.302837685 -0700
+++ b/excon.gemspec 2022-07-06 18:00:23.860442343 -0700
@@ -12,14 +12,7 @@
s.license = 'MIT'
s.rdoc_options = ["--charset=UTF-8"]
s.extra_rdoc_files = %w[README.md CONTRIBUTORS.md CONTRIBUTING.md]
- s.files = `git ls-files -- data/* lib/*`.split("\n") + [
- "CONTRIBUTING.md",
- "CONTRIBUTORS.md",
- "LICENSE.md",
- "README.md",
- "excon.gemspec"
- ]
-
+ s.files = Dir['**/*']
s.add_development_dependency('rspec', '>= 3.5.0')
s.add_development_dependency('activesupport')
s.add_development_dependency('delorean')

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"excon-0.92.2.tar.gz": "84a15840c8b9f886afa3bb19ff33cca55fdb3d74fe172dce48030899e1fb1d41"
}
}

Просмотреть файл

@ -0,0 +1,41 @@
%global debug_package %{nil}
%global gem_name excon
Summary: Extended http(s) Connections
Name: rubygem-%{gem_name}
Version: 0.92.2
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/excon/excon
Source0: https://github.com/excon/excon/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
Patch0: fix-file_list.patch
BuildRequires: ruby
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Extended http(s) Connections.
%prep
%autosetup -p1 -n %{gem_name}-%{version}
%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.md
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 0.92.2-1
- Update to v0.92.2.
- Build from .tar.gz source.
* Wed Jan 06 2021 Henry Li <lihl@microsoft.com> - 0.78.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"faraday-em_http-1.0.0.tar.gz": "25ca4dae00505834e34a2ff25dfe07763a3ae8b7627252c0ff7a19cdd608bf71"
}
}

Просмотреть файл

@ -0,0 +1,36 @@
%global debug_package %{nil}
%global gem_name faraday-em_http
Summary: Faraday adapter for EventMachine::HttpRequest
Name: rubygem-%{gem_name}
Version: 1.0.0
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/lostisland/faraday-em_http
Source0: https://github.com/lostisland/faraday-em_http/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
This gem is a Faraday adapter for the Em::Http::Request library. Faraday is an HTTP client library that provides a common interface over many adapters. Every adapter is defined into its own gem. This gem defines the adapter for Em::Http::Request.
%prep
%setup -q -n %{gem_name}-%{version}
%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.md
%{gemdir}
%changelog
* Wed Jan 06 2021 Neha Agarwal <nehaagarwal@microsoft.com> - 1.0.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"faraday-em_synchrony-1.0.0.tar.gz": "a121f41ec698d7bfc966fa7f5dd58a25fd3339319b9533d4fff6790f08e98ff7"
}
}

Просмотреть файл

@ -0,0 +1,36 @@
%global debug_package %{nil}
%global gem_name faraday-em_synchrony
Summary: Faraday adapter for EM::Synchrony
Name: rubygem-%{gem_name}
Version: 1.0.0
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/lostisland/faraday-em_synchrony
Source0: https://github.com/lostisland/faraday-em_synchrony/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
This gem is a Faraday adapter for the Em::Synchrony library. Faraday is an HTTP client library that provides a common interface over many adapters. Every adapter is defined into its own gem. This gem defines the adapter for Em::Synchrony.
%prep
%setup -q -n %{gem_name}-%{version}
%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.md
%{gemdir}
%changelog
* Wed Jan 06 2021 Neha Agarwal <nehaagarwal@microsoft.com> - 1.0.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"faraday-excon-1.1.0.tar.gz": "2bc1d639d6b4dbf791010fd8a714b4c2752bb8cb305599a01f47199541a43eb9"
}
}

Просмотреть файл

@ -0,0 +1,36 @@
%global debug_package %{nil}
%global gem_name faraday-excon
Summary: Faraday adapter for Excon
Name: rubygem-%{gem_name}
Version: 1.1.0
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/lostisland/faraday-excon
Source0: https://github.com/lostisland/faraday-excon/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
This gem is a Faraday adapter for the Excon library. Faraday is an HTTP client library that provides a common interface over many adapters. Every adapter is defined into its own gem. This gem defines the adapter for Excon.
%prep
%setup -q -n %{gem_name}-%{version}
%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.md
%{gemdir}
%changelog
* Mon Jun 13 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.1.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"faraday-httpclient-1.0.tar.gz": "a6293cf79e62ba9963d51e7d7935ce726d4d731bbee1c86222f7e5e1b8e0f58b"
}
}

Просмотреть файл

@ -0,0 +1,38 @@
%global debug_package %{nil}
%global gem_name faraday-httpclient
Summary: Faraday adapter for HTTPClient
Name: rubygem-%{gem_name}
Version: 1.0.0
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/lostisland/faraday-httpclient
Source0: https://github.com/lostisland/faraday-httpclient/archive/refs/tags/v1.0.tar.gz#/%{gem_name}-1.0.tar.gz
BuildRequires: git
BuildRequires: ruby
Requires: ruby(release)
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
This gem is a Faraday adapter for the HTTPClient library. Faraday is an HTTP client library that provides a common interface over many adapters. Every adapter is defined into its own gem. This gem defines the adapter for HTTPClient.
%prep
%setup -q -n %{gem_name}-1.0
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%doc %{gemdir}/gems/%{gem_name}-%{version}/LICENSE.md
%{gemdir}
%changelog
* Mon Jun 13 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.0.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"faraday-multipart-1.0.0.tar.gz": "d6e2837a84c8edb8f044cd9a196d823217345def455f95eb43c5269357f6b06f"
}
}

Просмотреть файл

@ -0,0 +1,38 @@
%global debug_package %{nil}
%global gem_name faraday-multipart
Summary: Perform multipart-post requests using Faraday
Name: rubygem-%{gem_name}
Version: 1.0.0
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/lostisland/faraday-multipart
Source0: https://github.com/lostisland/faraday-multipart/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: git
BuildRequires: ruby
Requires: ruby(release)
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Perform multipart-post requests using Faraday. The Multipart middleware converts a Faraday::Request#body Hash of key/value pairs into a multipart form request.
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%doc %{gemdir}/gems/%{gem_name}-%{version}/LICENSE.md
%{gemdir}
%changelog
* Mon Jun 13 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.0.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"faraday-net_http-1.0.0.tar.gz": "1c572b9611a1ab3d33985aaab676d5f24a3a1ac5313ba16efb5ff60707ca4d9c"
}
}

Просмотреть файл

@ -0,0 +1,38 @@
%global debug_package %{nil}
%global gem_name faraday-net_http
Summary: Faraday adapter for Net::HTTP
Name: rubygem-%{gem_name}
Version: 1.0.0
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/lostisland/faraday-net_http
Source0: https://github.com/lostisland/faraday-net_http/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: git
BuildRequires: ruby
Requires: ruby(release)
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
This gem is a Faraday adapter for the Net::HTTP library. Faraday is an HTTP client library that provides a common interface over many adapters. Every adapter is defined into it's own gem. This gem defines the adapter for Net::HTTP the HTTP library that's included into the standard library of Ruby.
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%doc %{gemdir}/gems/%{gem_name}-%{version}/LICENSE.md
%{gemdir}
%changelog
* Mon Jun 13 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.0.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"faraday-net_http_persistent-1.0.0.tar.gz": "d8cb3291aea1553b3e9a48883380a78de32de9363abca1caf52d9384367e683b"
}
}

Просмотреть файл

@ -0,0 +1,38 @@
%global debug_package %{nil}
%global gem_name faraday-net_http_persistent
Summary: Faraday Adapter for NetHttpPersistent
Name: rubygem-%{gem_name}
Version: 1.0.0
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/lostisland/faraday-net_http_persistent
Source0: https://github.com/lostisland/faraday-net_http_persistent/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: git
BuildRequires: ruby
Requires: ruby(release)
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
This gem is a Faraday adapter for the Net::HTTP::Persistent gem.
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%doc %{gemdir}/gems/%{gem_name}-%{version}/LICENSE.md
%{gemdir}
%changelog
* Mon Jun 13 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.0.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"faraday-patron-1.0.tar.gz": "59c35dc0c91333ad61d13835de2b6d9aab145fad1094dd6e0134554875d42e11"
}
}

Просмотреть файл

@ -0,0 +1,38 @@
%global debug_package %{nil}
%global gem_name faraday-patron
Summary: Faraday adapter for Patron
Name: rubygem-%{gem_name}
Version: 1.0.0
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/lostisland/faraday-patron
Source0: https://github.com/lostisland/faraday-patron/archive/refs/tags/v1.0.tar.gz#/%{gem_name}-1.0.tar.gz
BuildRequires: git
BuildRequires: ruby
Requires: ruby(release)
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
This gem is a Faraday adapter for the Patron library. Faraday is an HTTP client library that provides a common interface over many adapters. Every adapter is defined into its own gem. This gem defines the adapter for Patron.
%prep
%setup -q -n %{gem_name}-1.0
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%doc %{gemdir}/gems/%{gem_name}-%{version}/LICENSE.md
%{gemdir}
%changelog
* Mon Jun 13 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.0.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"faraday-rack-1.0.0.tar.gz": "429ac487798c904610d2fd4d3507bc740d65775c9169a80e4e46db2aae46cc9f"
}
}

Просмотреть файл

@ -0,0 +1,38 @@
%global debug_package %{nil}
%global gem_name faraday-rack
Summary: Faraday adapter for a Rack app
Name: rubygem-%{gem_name}
Version: 1.0.0
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/lostisland/faraday-rack
Source0: https://github.com/lostisland/faraday-rack/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: git
BuildRequires: ruby
Requires: ruby(release)
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
This gem is a Faraday adapter for a Rack app. Faraday is an HTTP client library that provides a common interface over many adapters. Every adapter is defined into its own gem. This gem defines the adapter for a Rack app.
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%doc %{gemdir}/gems/%{gem_name}-%{version}/LICENSE.md
%{gemdir}
%changelog
* Mon Jun 13 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.0.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"faraday-retry-1.0.1.tar.gz": "fb12ceb49ded58d770ed61a88873bc208edf31af49a813fa930c067a7e9fe70e"
}
}

Просмотреть файл

@ -0,0 +1,39 @@
%global debug_package %{nil}
%global gem_name faraday-retry
Summary: Catches exceptions and retries each request a limited number of times
Name: rubygem-%{gem_name}
Version: 1.0.1
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/lostisland/faraday-retry
Source0: https://github.com/lostisland/faraday-retry/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: git
BuildRequires: ruby
Requires: ruby(release)
Provides: rubygem(%{gem_name}) = %{version}-%{release}
AutoReq: no
%description
The Retry middleware automatically retries requests that fail due to intermittent client or server errors (such as network hiccups). By default, it retries 2 times and handles only timeout exceptions. It can be configured with an arbitrary number of retries, a list of exceptions to handle, a retry interval, a percentage of randomness to add to the retry interval, and a backoff factor. The middleware can also handle the Retry-After header automatically when configured with the right status codes (see below for an example).
%prep
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%doc %{gemdir}/gems/%{gem_name}-%{version}/LICENSE.md
%{gemdir}
%changelog
* Mon Jun 13 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.0.1-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"faraday-1.10.0.tar.gz": "b46eaf3d39b439f35a9e54d1cc80e57796c95aa4be4b1b4babd8f29168ea0c8f"
}
}

Просмотреть файл

@ -0,0 +1,45 @@
%global debug_package %{nil}
%global gem_name faraday
Summary: HTTP/REST API client library
Name: rubygem-faraday
Version: 1.10.0
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://lostisland.github.io/faraday/
Source0: https://github.com/lostisland/faraday/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: ruby
Requires: rubygem-multipart-post < 3
Requires: rubygem-ruby2_keywords
Provides: rubygem(%{gem_name}) = %{version}-%{release}
AutoReq: no
%description
Faraday is an HTTP client library that provides a common interface over
many adapters (such as Net::HTTP) and embraces the concept of Rack middleware
when processing the request/response cycle.
%prep
%setup -q -n %{gem_name}-%{version}
%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.md
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.10.0-1
- Update to v1.10.0.
- Build from .tar.gz source.
* Wed Jan 06 2021 Henry Li <lihl@microsoft.com> - 1.1.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,25 @@
diff -ruN a/ffi.gemspec b/ffi.gemspec
--- a/ffi.gemspec 2022-01-10 06:33:24.000000000 -0800
+++ b/ffi.gemspec 2022-07-06 18:38:21.055186019 -0700
@@ -16,20 +16,10 @@
s.metadata['source_code_uri'] = 'https://github.com/ffi/ffi/'
s.metadata['mailing_list_uri'] = 'http://groups.google.com/group/ruby-ffi'
end
- s.files = `git ls-files -z`.split("\x0").reject do |f|
+ s.files = Dir['**/*'].reject do |f|
f =~ /^(\.|bench|gen|libtest|nbproject|spec)/
end
- # Add libffi git files
- lfs = `git --git-dir ext/ffi_c/libffi/.git ls-files -z`.split("\x0")
- # Add autoconf generated files of libffi
- lfs += %w[ configure config.guess config.sub install-sh ltmain.sh missing fficonfig.h.in ]
- # Add automake generated files of libffi
- lfs += `git --git-dir ext/ffi_c/libffi/.git ls-files -z *.am */*.am`.gsub(".am\0", ".in\0").split("\x0")
- s.files += lfs.map do |f|
- File.join("ext/ffi_c/libffi", f)
- end
-
s.extensions << 'ext/ffi_c/extconf.rb'
s.rdoc_options = %w[--exclude=ext/ffi_c/.*\.o$ --exclude=ffi_c\.(bundle|so)$]
s.license = 'BSD-3-Clause'

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"ffi-1.15.5.tar.gz": "a8440523973b191f3e7cdc0fff4db0bd7a74d9284ecda5137ebf81fca10ae064"
}
}

Просмотреть файл

@ -0,0 +1,44 @@
%global debug_package %{nil}
%global gem_name ffi
Summary: Ruby FFI
Name: rubygem-ffi
Version: 1.15.5
Release: 1%{?dist}
License: BSD
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/ffi/ffi
Source0: https://github.com/ffi/ffi/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
Patch0: fix-file_list.patch
BuildRequires: git
BuildRequires: ruby
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Ruby-FFI is a gem for programmatically loading dynamically-linked native libraries,
binding functions within them, and calling those functions from Ruby code. Moreover,
a Ruby-FFI extension works without changes on CRuby (MRI), JRuby, Rubinius and TruffleRuby.
%prep
%autosetup -p1 -n %{gem_name}-%{version}
%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
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.15.5-1
- Update to v1.15.5.
- Build from .tar.gz source.
* Wed Jan 06 2021 Henry Li <lihl@microsoft.com> - 1.13.1-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,12 @@
diff -ruN a/fiber-local.gemspec b/fiber-local.gemspec
--- a/fiber-local.gemspec 2022-07-03 16:32:54.853440597 -0700
+++ b/fiber-local.gemspec 2022-07-03 16:33:58.834207823 -0700
@@ -12,7 +12,7 @@
spec.homepage = "https://github.com/socketry/fiber-local"
- spec.files = Dir.glob('{lib}/**/*', File::FNM_DOTMATCH, base: __dir__)
+ spec.files = Dir['**/*']
spec.required_ruby_version = ">= 2.5.0"

Просмотреть файл

@ -1,23 +1,24 @@
%global debug_package %{nil}
%global gemdir %(IFS=: R=($(gem env gempath)); echo ${R[${#R[@]}-1]})
%global gem_name fiber-local
Summary: A module to simplify fiber-local state
Name: rubygem-fiber-local
Version: 1.0.0
Release: 2%{?dist}
Release: 3%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/socketry/fiber-local
Source0: https://github.com/socketry/fiber-local/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
Patch0: fix-file_list.patch
BuildRequires: ruby
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Provides a class-level mixin to make fiber local state easy.
%prep
%setup -q -n %{gem_name}-%{version}
%autosetup -p1 -n %{gem_name}-%{version}
%build
gem build %{gem_name}
@ -30,9 +31,12 @@ gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-
%{gemdir}
%changelog
* Tue Jul 19 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.0.0-3
- Add provides, add missing files
* Tue Mar 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.0.0-2
- Build from .tar.gz source.
* Wed Jan 06 2021 Henry Li <lihl@microsoft.com> - 1.0.0-1
- License verified
- Original version for CBL-Mariner
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,12 @@
diff -ruN a/fluent-config-regexp-type.gemspec b/fluent-config-regexp-type.gemspec
--- a/fluent-config-regexp-type.gemspec 2018-05-23 19:31:02.000000000 -0700
+++ b/fluent-config-regexp-type.gemspec 2022-07-07 16:14:06.445576502 -0700
@@ -11,7 +11,7 @@
spec.description = "The compatibility monkey patch to use regexp type "
spec.homepage = "https://github.com/okkez/fluent-config-regexp-type"
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
+ spec.files = Dir['**/*'].reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = "exe"

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"fluent-config-regexp-type-1.0.0.tar.gz": "8bd93a4a5b529a6314993d1f99ab611dd9608c4e0acdd991aa51fa7d6dd3a8d3"
}
}

Просмотреть файл

@ -0,0 +1,43 @@
%global debug_package %{nil}
%global gem_name fluent-config-regexp-type
Summary: The compatibility patch to use regexp type
Name: rubygem-%{gem_name}
Version: 1.0.0
Release: 2%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/okkez/fluent-config-regexp-type
Source0: https://github.com/okkez/fluent-config-regexp-type/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
Patch0: fix-file_list.patch
BuildRequires: git
BuildRequires: ruby
Requires: rubygem-fluentd
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Fluentd 1.2.0 supports regexp type in config_param.
This gem backports regexp type for config_param.
%prep
%autosetup -p1 -n %{gem_name}-%{version}
%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
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 1.0.0-2
- Build from .tar.gz source.
* Mon Jan 04 2021 Henry Li <lihl@microsoft.com> - 1.0.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,16 @@
diff -ruN a/fluent-logger.gemspec b/fluent-logger.gemspec
--- a/fluent-logger.gemspec 2020-09-03 22:52:31.000000000 -0700
+++ b/fluent-logger.gemspec 2022-06-24 09:15:36.105267010 -0700
@@ -15,9 +15,9 @@
gem.description = %q{fluent logger for ruby}
gem.summary = gem.description
- gem.files = `git ls-files`.split("\n")
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ gem.files = Dir['**/*']
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.require_paths = ['lib']
gem.license = "Apache-2.0"

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"fluent-logger-ruby-0.9.0.tar.gz": "9d6870368b091e2e07b51fff1e09eaaec7a412f78232ee66f34a065eaba2fcaf"
}
}

Просмотреть файл

@ -0,0 +1,43 @@
%global debug_package %{nil}
%global gem_name fluent-logger
%global gems_version 3.1.0
Summary: fluent logger for ruby
Name: rubygem-fluent-logger
Version: 0.9.0
Release: 2%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/fluent/fluent-logger-ruby
Source0: https://github.com/fluent/fluent-logger-ruby/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-ruby-%{version}.tar.gz
Patch0: fix-file_list.patch
BuildRequires: git
BuildRequires: ruby
Requires: rubygem-msgpack < 2
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
A structured event logger.
%prep
%autosetup -p1 -n %{gem_name}-ruby-%{version}
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} --bindir %{buildroot}%{_prefix}/lib/ruby/gems/%{gems_version}/bin/ %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%license %{gemdir}/gems/%{gem_name}-%{version}/COPYING
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 0.9.0-2
- Build from .tar.gz source.
* Mon Jan 04 2021 Henry Li <lihl@microsoft.com> - 0.9.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,12 @@
diff -ruN a/fluent-plugin-elasticsearch.gemspec b/fluent-plugin-elasticsearch.gemspec
--- a/fluent-plugin-elasticsearch.gemspec 2022-07-07 16:33:59.519676611 -0700
+++ b/fluent-plugin-elasticsearch.gemspec 2022-07-07 16:34:32.980073686 -0700
@@ -11,7 +11,7 @@
s.homepage = 'https://github.com/uken/fluent-plugin-elasticsearch'
s.license = 'Apache-2.0'
- s.files = `git ls-files`.split($/)
+ s.files = Dir['**/*']
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = ['lib']

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"fluent-plugin-elasticsearch-5.2.2.tar.gz": "38d94866a896c1f16a3e7cb8dc03c8decd57cb780e2f4ecf2ea44b54aa8e0392"
}
}

Просмотреть файл

@ -0,0 +1,45 @@
%global debug_package %{nil}
%global gem_name fluent-plugin-elasticsearch
Summary: Elasticsearch output plugin for Fluent event collector
Name: rubygem-fluent-plugin-elasticsearch
Version: 5.2.2
Release: 1%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/uken/fluent-plugin-elasticsearch
Source0: https://github.com/uken/fluent-plugin-elasticsearch/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
Patch0: fix-file_list.patch
BuildRequires: git
BuildRequires: ruby
Requires: rubygem-elasticsearch
Requires: rubygem-excon
Requires: rubygem-fluentd
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Elasticsearch output plugin for Fluent event collector
%prep
%autosetup -p1 -n %{gem_name}-%{version}
%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.txt
%{gemdir}
%changelog
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 5.2.2-1
- Update to v5.2.2.
- Build from .tar.gz source.
* Mon Jan 04 2021 Henry Li <lihl@microsoft.com> - 4.0.7-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,12 @@
diff -ruN a/fluent-plugin-kafka.gemspec b/fluent-plugin-kafka.gemspec
--- a/fluent-plugin-kafka.gemspec 2022-07-07 16:36:58.897805650 -0700
+++ b/fluent-plugin-kafka.gemspec 2022-07-07 16:37:27.726147887 -0700
@@ -8,7 +8,7 @@
gem.homepage = "https://github.com/fluent/fluent-plugin-kafka"
gem.license = "Apache-2.0"
- gem.files = `git ls-files`.split($\)
+ gem.files = Dir['**/*']
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "fluent-plugin-kafka"

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"fluent-plugin-kafka-0.17.5.tar.gz": "881d835904f625016f6dec4a73abe4310afa741c1ea9b068964a13232205c6b3"
}
}

Просмотреть файл

@ -0,0 +1,45 @@
%global debug_package %{nil}
%global gem_name fluent-plugin-kafka
Summary: Kafka input and output plugin for Fluentd
Name: rubygem-%{gem_name}
Version: 0.17.5
Release: 1%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/fluent/fluent-plugin-kafka
Source0: https://github.com/fluent/fluent-plugin-kafka/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: git
BuildRequires: ruby
Patch0: fix-file_list.patch
Requires: rubygem-fluentd
Requires: rubygem-ltsv
Requires: rubygem-ruby-kafka < 2
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
A fluentd plugin to both consume and produce data for Apache Kafka.
%prep
%autosetup -p1 -n %{gem_name}-%{version}
%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
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 0.17.5-1
- Update to v0.17.5.
- Build from .tar.gz source.
* Mon Jan 04 2021 Henry Li <lihl@microsoft.com> - 0.13.0-1
- License verified
- Original version for CBL-Mariner

Просмотреть файл

@ -0,0 +1,12 @@
diff -ruN a/fluent-plugin-prometheus.gemspec b/fluent-plugin-prometheus.gemspec
--- a/fluent-plugin-prometheus.gemspec 2022-07-07 16:39:48.391818041 -0700
+++ b/fluent-plugin-prometheus.gemspec 2022-07-07 16:40:10.208077101 -0700
@@ -8,7 +8,7 @@
spec.homepage = "https://github.com/fluent/fluent-plugin-prometheus"
spec.license = "Apache-2.0"
- spec.files = `git ls-files -z`.split("\x0")
+ spec.files = Dir['**/*']
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"fluent-plugin-prometheus-2.0.2.tar.gz": "0f36f59232542482947c86a8436d204dc5e53f60621023fdb938e12adcfd2e3d"
}
}

Просмотреть файл

@ -0,0 +1,44 @@
%global debug_package %{nil}
%global gem_name fluent-plugin-prometheus
Summary: A fluent plugin that collects metrics and exposes for Prometheus
Name: rubygem-%{gem_name}
Version: 2.0.2
Release: 1%{?dist}
License: Apache 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
Group: Development/Languages
URL: https://github.com/fluent/fluent-plugin-prometheus
Source0: https://github.com/fluent/fluent-plugin-prometheus/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
Patch0: fix-file_list.patch
BuildRequires: git
BuildRequires: ruby
Requires: rubygem-fluentd
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
A fluent plugin that instruments metrics from records and exposes them via web interface.
Intended to be used together with a Prometheus server.
%prep
%autosetup -p1 -n %{gem_name}-%{version}
%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
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 2.0.2-1
- Update to v2.0.2.
- Build from .tar.gz source.
* Mon Jan 04 2021 Henry Li <lihl@microsoft.com> - 1.7.3-1
- License verified
- Original version for CBL-Mariner

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше