Skip to content

Commit

Permalink
Regenerate hammer-cli-katello spec with add_gem_package
Browse files Browse the repository at this point in the history
  • Loading branch information
ianballou committed May 15, 2024
1 parent 55d60a1 commit 2215367
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 2 additions & 0 deletions comps/comps-foreman-plugins-el8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
<packagereq type="default">rubygem-hammer_cli_foreman_tasks</packagereq>
<packagereq type="default">rubygem-hammer_cli_foreman_templates</packagereq>
<packagereq type="default">rubygem-hammer_cli_foreman_webhooks</packagereq>
<packagereq type="default">rubygem-hammer_cli_katello</packagereq>
<packagereq type="default">rubygem-http</packagereq>
<packagereq type="default">rubygem-http-form_data</packagereq>
<packagereq type="default">rubygem-http_parser.rb</packagereq>
Expand Down Expand Up @@ -303,6 +304,7 @@
<packagereq type="default">rubygem-hammer_cli_foreman_tasks-doc</packagereq>
<packagereq type="default">rubygem-hammer_cli_foreman_templates-doc</packagereq>
<packagereq type="default">rubygem-hammer_cli_foreman_webhooks-doc</packagereq>
<packagereq type="default">rubygem-hammer_cli_katello-doc</packagereq>
<packagereq type="default">rubygem-httparty-doc</packagereq>
<packagereq type="default">rubygem-http-doc</packagereq>
<packagereq type="default">rubygem-http-form_data-doc</packagereq>
Expand Down
1 change: 1 addition & 0 deletions package_manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ foreman_plugin_packages_tier2:
rubygem-foreman_webhooks: {}
rubygem-foreman_vmwareannotations: {}
rubygem-foreman_wreckingball: {}
rubygem-hammer_cli_katello: {}
rubygem-puppetdb_foreman: {}

fdi_plugin_packages:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,13 @@ URL: https://github.com/Katello/hammer-cli-katello
Source0: https://rubygems.org/gems/%{gem_name}-%{version}%{?prerelease}.gem

# start specfile generated dependencies
Requires: ruby(release)
Requires: ruby
Requires: ruby(rubygems)
Requires: rubygem(hammer_cli_foreman)
Requires: rubygem(hammer_cli_foreman_tasks)
BuildRequires: ruby(release)
BuildRequires: ruby
Requires: ruby >= 2.7
Requires: ruby < 3.2
BuildRequires: ruby >= 2.7
BuildRequires: ruby < 3.2
BuildRequires: rubygems-devel
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
Provides: hammer-cli-plugin-%{plugin_name} = %{version}
# end specfile generated dependencies

%description
Expand All @@ -43,11 +40,11 @@ BuildArch: noarch
Documentation for %{name}.

%prep
%setup -q -D -T -n %{gem_name}-%{version}%{?prerelease}
%setup -q -n %{gem_name}-%{version}%{?prerelease}

%build
# Create the gem as gem install only works on a gem file
gem build ../%{gem_name}-%{version}.gemspec
gem build ../%{gem_name}-%{version}%{?prerelease}.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
Expand Down Expand Up @@ -76,7 +73,7 @@ install -m 0644 .%{gem_instdir}/config/%{plugin_name}.yml \
%{gem_instdir}/test

%changelog
* Thu Apr 25 2024 Ian Ballou <[email protected]> 1.13.0-0.2.pre.master
* Wed May 15 2024 Ian Ballou <[email protected]> - 1.13.0-0.2.pre.master
- Remove SCL references

* Fri May 10 2024 Ian Ballou <[email protected]> - 1.13.0-0.1.pre.master
Expand Down

0 comments on commit 2215367

Please sign in to comment.