diff --git a/packages/plugins/rubygem-elastic-apm/elastic-apm-2.9.1.gem b/packages/plugins/rubygem-elastic-apm/elastic-apm-2.9.1.gem deleted file mode 120000 index 76533683293..00000000000 --- a/packages/plugins/rubygem-elastic-apm/elastic-apm-2.9.1.gem +++ /dev/null @@ -1 +0,0 @@ -../../../.git/annex/objects/Gv/p4/SHA256E-s75264--75516ba19b6523a4a419d3fc6b4c077699e4c5d2c2accd5035568aefb021b2e4.1.gem/SHA256E-s75264--75516ba19b6523a4a419d3fc6b4c077699e4c5d2c2accd5035568aefb021b2e4.1.gem \ No newline at end of file diff --git a/packages/plugins/rubygem-elastic-apm/elastic-apm-4.7.3.gem b/packages/plugins/rubygem-elastic-apm/elastic-apm-4.7.3.gem new file mode 120000 index 00000000000..5d2296f5537 --- /dev/null +++ b/packages/plugins/rubygem-elastic-apm/elastic-apm-4.7.3.gem @@ -0,0 +1 @@ +../../../.git/annex/objects/P4/1w/SHA256E-s28048--512dad449e44baa845317f1ef504e1f6f311030f446a2104926178e046e197a1.3.gem/SHA256E-s28048--512dad449e44baa845317f1ef504e1f6f311030f446a2104926178e046e197a1.3.gem \ No newline at end of file diff --git a/packages/plugins/rubygem-elastic-apm/rubygem-elastic-apm.spec b/packages/plugins/rubygem-elastic-apm/rubygem-elastic-apm.spec index 1128724b821..525c1b0b570 100644 --- a/packages/plugins/rubygem-elastic-apm/rubygem-elastic-apm.spec +++ b/packages/plugins/rubygem-elastic-apm/rubygem-elastic-apm.spec @@ -1,31 +1,19 @@ -# Generated from elastic-apm-2.9.1.gem by gem2rpm -*- rpm-spec -*- -# template: scl -%{?scl:%scl_package rubygem-%{gem_name}} -%{!?scl:%global pkg_name %{name}} - +# template: default %global gem_name elastic-apm -Name: %{?scl_prefix}rubygem-%{gem_name} -Version: 2.9.1 -Release: 3%{?dist} +Name: rubygem-%{gem_name} +Version: 4.7.3 +Release: 1%{?dist} Summary: The official Elastic APM agent for Ruby -Group: Development/Languages License: Apache-2.0 URL: https://github.com/elastic/apm-agent-ruby Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # start specfile generated dependencies -Requires: %{?scl_prefix_ruby}ruby(release) -Requires: %{?scl_prefix_ruby}ruby >= 2.3.0 -Requires: %{?scl_prefix_ruby}ruby(rubygems) -Requires: %{?scl_prefix}rubygem(concurrent-ruby) >= 1.0 -Requires: %{?scl_prefix}rubygem(concurrent-ruby) < 2 -Requires: %{?scl_prefix}rubygem(http) >= 3.0 -BuildRequires: %{?scl_prefix_ruby}ruby(release) -BuildRequires: %{?scl_prefix_ruby}ruby >= 2.3.0 -BuildRequires: %{?scl_prefix_ruby}rubygems-devel +Requires: ruby >= 2.3.0 +BuildRequires: ruby >= 2.3.0 +BuildRequires: rubygems-devel BuildArch: noarch -Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} # end specfile generated dependencies %description @@ -33,69 +21,62 @@ The official Elastic APM agent for Ruby. %package doc -Summary: Documentation for %{pkg_name} -Group: Documentation -Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release} +Summary: Documentation for %{name} +Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc -Documentation for %{pkg_name}. +Documentation for %{name}. %prep -%{?scl:scl enable %{scl} - << \EOF} -gem unpack %{SOURCE0} -%{?scl:EOF} - -%setup -q -D -T -n %{gem_name}-%{version} - -%{?scl:scl enable %{scl} - << \EOF} -gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec -%{?scl:EOF} +%setup -q -n %{gem_name}-%{version} %build # Create the gem as gem install only works on a gem file -%{?scl:scl enable %{scl} - << \EOF} -gem build %{gem_name}.gemspec -%{?scl:EOF} +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 -%{?scl:scl enable %{scl} - << \EOF} %gem_install -%{?scl:EOF} %install mkdir -p %{buildroot}%{gem_dir} -cp -pa .%{gem_dir}/* \ +cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %files %dir %{gem_instdir} -%exclude %{gem_instdir}/.ci +%{gem_instdir}/.ci +%exclude %{gem_instdir}/.github %exclude %{gem_instdir}/.gitignore -%exclude %{gem_instdir}/.hound.yml +%{gem_instdir}/.pre-commit-config.yaml %exclude %{gem_instdir}/.rubocop.yml +%doc %{gem_instdir}/CODE_OF_CONDUCT.md +%{gem_instdir}/Dockerfile %license %{gem_instdir}/LICENSE +%doc %{gem_instdir}/SECURITY.md %{gem_instdir}/bench %{gem_instdir}/bin -%exclude %{gem_instdir}/elastic-apm.gemspec %{gem_libdir} -%{gem_instdir}/vendor %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/.rspec -%doc %{gem_instdir}/CHANGELOG.md +%doc %{gem_instdir}/CHANGELOG.asciidoc %doc %{gem_instdir}/CONTRIBUTING.md %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile +%doc %{gem_instdir}/docker-compose.yml %doc %{gem_instdir}/docs -%doc %{gem_instdir}/CODE_OF_CONDUCT.md +%exclude %{gem_instdir}/elastic-apm.gemspec %changelog +* Wed Aug 21 2024 Manuel Laug - 4.7.3-1 +- Update elastic-apm to 4.7.3 + * Tue Apr 06 2021 Eric D. Helms - 2.9.1-3 - Rebuild for Ruby 2.7 diff --git a/packages/plugins/rubygem-foreman_supervisory_authority/foreman_supervisory_authority-0.0.2.gem b/packages/plugins/rubygem-foreman_supervisory_authority/foreman_supervisory_authority-0.0.2.gem deleted file mode 120000 index e20c799097d..00000000000 --- a/packages/plugins/rubygem-foreman_supervisory_authority/foreman_supervisory_authority-0.0.2.gem +++ /dev/null @@ -1 +0,0 @@ -../../../.git/annex/objects/w1/WJ/SHA256E-s18432--e487d92d6e02a65f71d9aec3aa1570adfc47c46562b1cb47dcc3596bfe834406.2.gem/SHA256E-s18432--e487d92d6e02a65f71d9aec3aa1570adfc47c46562b1cb47dcc3596bfe834406.2.gem \ No newline at end of file diff --git a/packages/plugins/rubygem-foreman_supervisory_authority/foreman_supervisory_authority-0.2.0.gem b/packages/plugins/rubygem-foreman_supervisory_authority/foreman_supervisory_authority-0.2.0.gem new file mode 120000 index 00000000000..123a4a9e889 --- /dev/null +++ b/packages/plugins/rubygem-foreman_supervisory_authority/foreman_supervisory_authority-0.2.0.gem @@ -0,0 +1 @@ +../../../.git/annex/objects/mp/VZ/SHA256E-s17920--1c152e0a52f8474fe44004080c6f5f6dcc1fa64218a08765d63514f2cab62390.0.gem/SHA256E-s17920--1c152e0a52f8474fe44004080c6f5f6dcc1fa64218a08765d63514f2cab62390.0.gem \ No newline at end of file diff --git a/packages/plugins/rubygem-foreman_supervisory_authority/rubygem-foreman_supervisory_authority.spec b/packages/plugins/rubygem-foreman_supervisory_authority/rubygem-foreman_supervisory_authority.spec index e1e16d0380b..b44d12ff93d 100644 --- a/packages/plugins/rubygem-foreman_supervisory_authority/rubygem-foreman_supervisory_authority.spec +++ b/packages/plugins/rubygem-foreman_supervisory_authority/rubygem-foreman_supervisory_authority.spec @@ -1,34 +1,25 @@ -# Generated from foreman_supervisory_authority-0.0.1.gem by gem2rpm -*- rpm-spec -*- # template: foreman_plugin -%{?scl:%scl_package rubygem-%{gem_name}} -%{!?scl:%global pkg_name %{name}} - %global gem_name foreman_supervisory_authority %global plugin_name supervisory_authority -%global foreman_min_version 1.20 +%global foreman_min_version 3.10 -Name: %{?scl_prefix}rubygem-%{gem_name} -Version: 0.0.2 -Release: 4%{?foremandist}%{?dist} +Name: rubygem-%{gem_name} +Version: 0.2.0 +Release: 1%{?foremandist}%{?dist} Summary: This Foreman plug-in integrates with Elastic APM -Group: Applications/Systems -License: GPLv3+ -URL: https://github.com/timogoebel/foreman_supervisory_authority -Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +License: GPLv3 +URL: https://github.com/theforeman/foreman_supervisory_authority +Source0: %{gem_name}-%{version}.gem # start specfile generated dependencies Requires: foreman >= %{foreman_min_version} -Requires: %{?scl_prefix_ruby}ruby(release) -Requires: %{?scl_prefix_ruby}ruby -Requires: %{?scl_prefix_ruby}ruby(rubygems) -Requires: %{?scl_prefix}rubygem(elastic-apm) >= 2.0 -Requires: %{?scl_prefix}rubygem(elastic-apm) < 3 BuildRequires: foreman-plugin >= %{foreman_min_version} -BuildRequires: %{?scl_prefix_ruby}ruby(release) -BuildRequires: %{?scl_prefix_ruby}ruby -BuildRequires: %{?scl_prefix_ruby}rubygems-devel +Requires: ruby >= 2.5 +Requires: ruby < 4 +BuildRequires: ruby >= 2.5 +BuildRequires: ruby < 4 +BuildRequires: rubygems-devel BuildArch: noarch -Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} Provides: foreman-plugin-%{plugin_name} = %{version} # end specfile generated dependencies @@ -37,40 +28,27 @@ This plug-in for Foreman sends data to Elastic APM. %package doc -Summary: Documentation for %{pkg_name} -Group: Documentation -Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release} +Summary: Documentation for %{name} +Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc -Documentation for %{pkg_name}. +Documentation for %{name}. %prep -%{?scl:scl enable %{scl} - << \EOF} -gem unpack %{SOURCE0} -%{?scl:EOF} - -%setup -q -D -T -n %{gem_name}-%{version} - -%{?scl:scl enable %{scl} - << \EOF} -gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec -%{?scl:EOF} +%setup -q -n %{gem_name}-%{version} %build # Create the gem as gem install only works on a gem file -%{?scl:scl enable %{scl} - << \EOF} -gem build %{gem_name}.gemspec -%{?scl:EOF} +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 -%{?scl:scl enable %{scl} - << \EOF} %gem_install -%{?scl:EOF} %install mkdir -p %{buildroot}%{gem_dir} -cp -pa .%{gem_dir}/* \ +cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %foreman_bundlerd_file @@ -89,12 +67,14 @@ cp -pa .%{gem_dir}/* \ %doc %{gem_docdir} %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile -%{gem_instdir}/test %posttrans %{foreman_plugin_log} %changelog +* Wed Aug 21 2024 Manuel Laug - 0.2.0-1 +- Update foreman_supervisory_authority to 0.2.0 + * Mon May 09 2022 Evgeni Golov - 0.0.2-4 - log plugin installation in posttrans