Skip to content

Commit 1365667

Browse files
committed
Update rubygem-foreman_dhcp_browser to 0.1.1
1 parent 1dc402d commit 1365667

File tree

3 files changed

+13
-28
lines changed

3 files changed

+13
-28
lines changed

packages/plugins/rubygem-foreman_dhcp_browser/foreman_dhcp_browser-0.0.8.gem

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../.git/annex/objects/FQ/K5/SHA256E-s18944--50624206539920afb9b251465c924602a5fc60e927ada0dcc591f3e7f58a1b63.1.gem/SHA256E-s18944--50624206539920afb9b251465c924602a5fc60e927ada0dcc591f3e7f58a1b63.1.gem

packages/plugins/rubygem-foreman_dhcp_browser/rubygem-foreman_dhcp_browser.spec

Lines changed: 12 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,27 @@
11
# template: foreman_plugin
2-
%{?scl:%scl_package rubygem-%{gem_name}}
3-
%{!?scl:%global pkg_name %{name}}
4-
52
%global gem_name foreman_dhcp_browser
63
%global plugin_name dhcp_browser
7-
%global foreman_min_version 1.12.0
4+
%global foreman_min_version 3.14.0
85

96
Summary: DHCP browser plugin for Foreman
10-
Name: %{?scl_prefix}rubygem-%{gem_name}
11-
Version: 0.0.8
12-
Release: 6%{?foremandist}%{?dist}
7+
Name: rubygem-%{gem_name}
8+
Version: 0.1.1
9+
Release: 1%{?foremandist}%{?dist}
1310
Group: Applications/Systems
1411
License: GPLv3
1512
URL: https://github.com/theforeman/foreman_dhcp_browser
1613
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
1714

1815
# start specfile generated dependencies
1916
Requires: foreman >= %{foreman_min_version}
20-
Requires: %{?scl_prefix_ruby}ruby(release)
21-
Requires: %{?scl_prefix_ruby}ruby
22-
Requires: %{?scl_prefix_ruby}ruby(rubygems)
23-
Requires: %{?scl_prefix}rubygem(deface)
2417
BuildRequires: foreman-plugin >= %{foreman_min_version}
25-
BuildRequires: %{?scl_prefix_ruby}ruby(release)
26-
BuildRequires: %{?scl_prefix_ruby}ruby
27-
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
18+
Requires: ruby
19+
BuildRequires: ruby
20+
BuildRequires: rubygems-devel
2821
BuildArch: noarch
29-
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
30-
Provides: foreman-plugin-%{plugin_name}
22+
Provides: foreman-plugin-%{plugin_name} = %{version}
3123
# end specfile generated dependencies
3224
Provides: foreman-plugin-dhcp-browser
33-
%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
3425

3526
%description
3627
Plugin for Foreman to browse and add/edit/delete DHCP leases independent of
@@ -40,35 +31,26 @@ Foreman's host creation.
4031
%package doc
4132
BuildArch: noarch
4233
Group: Documentation
43-
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
44-
%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
34+
Requires: %{pkg_name} = %{version}-%{release}
4535
Summary: Documentation for %{pkg_name}
4636

4737
%description doc
4838
Documentation for %{pkg_name}.
4939

5040
%prep
51-
%{?scl:scl enable %{scl} - << \EOF}
5241
gem unpack %{SOURCE0}
53-
%{?scl:EOF}
5442

5543
%setup -q -D -T -n %{gem_name}-%{version}
5644

57-
%{?scl:scl enable %{scl} - << \EOF}
5845
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
59-
%{?scl:EOF}
6046

6147
%build
6248
# Create the gem as gem install only works on a gem file
63-
%{?scl:scl enable %{scl} - << \EOF}
6449
gem build %{gem_name}.gemspec
65-
%{?scl:EOF}
6650

6751
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
6852
# by default, so that we can move it into the buildroot in %%install
69-
%{?scl:scl enable %{scl} - << \EOF}
7053
%gem_install
71-
%{?scl:EOF}
7254

7355
%install
7456
mkdir -p %{buildroot}%{gem_dir}
@@ -96,6 +78,9 @@ cp -pa .%{gem_dir}/* \
9678
%{foreman_plugin_log}
9779

9880
%changelog
81+
* Fri Jan 24 2025 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 0.1.1-1
82+
- Update to 0.1.1
83+
9984
* Mon May 09 2022 Evgeni Golov - 0.0.8-6
10085
- log plugin installation in posttrans
10186

0 commit comments

Comments
 (0)