Skip to content

Commit

Permalink
(SIMP-5539) Update dependencies for simp-cli (#100)
Browse files Browse the repository at this point in the history
* Flesh out RPM requires

SIMP-5539 #comment this is need for ISO building simp-core
  • Loading branch information
jeannegreulich authored and lnemsick-simp committed Nov 28, 2018
1 parent dd4ffb3 commit bd5ab45
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 6 deletions.
38 changes: 33 additions & 5 deletions build/rubygem-simp-cli.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

%global gemdir /usr/share/simp/ruby
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
%global cli_version 4.3.0
%global cli_version 4.3.1
%global highline_version 1.7.8

# gem2ruby's method of installing gems into mocked build roots will blow up
Expand All @@ -12,16 +12,41 @@
Summary: a cli interface to configure/manage SIMP
Name: rubygem-%{gemname}
Version: %{cli_version}
Release: 0
Release: 0%{?dist}
Group: Development/Languages
License: Apache-2.0
URL: https://github.com/simp/rubygem-simp-cli
Source0: %{name}-%{cli_version}-%{release}.tar.gz
Source1: %{gemname}-%{cli_version}.gem
Requires: puppet >= 3
Requires: facter >= 2.2
Requires: rubygem(%{gemname}-highline) >= %{highline_version}
Requires: cracklib
Requires: createrepo
Requires: curl
Requires: diffutils
Requires: elinks
Requires: facter >= 3
Requires: grep
Requires: iproute
Requires: net-tools
Requires: policycoreutils
Requires: pupmod-herculesteam-augeasproviders_grub >= 3.0.1
Requires: pupmod-simp-network >= 6.0.3
Requires: pupmod-simp-resolv >= 0.1.1
Requires: pupmod-simp-simplib >= 3.11.1
Requires: puppet >= 5
Requires: rubygem(%{gemname}-highline) >= %{highline_version}
Requires: sed
Requires: simp-adapter >= 0.1.0
Requires: yum-utils

%if 0%{?rhel} > 6
Requires: libpwquality
Requires: procps-ng
Requires: hostname
Requires: grub2-tools-minimal
%else
Requires: procps
%endif

BuildRequires: ruby(rubygems)
BuildRequires: ruby
BuildArch: noarch
Expand Down Expand Up @@ -101,6 +126,9 @@ EOM
%doc %{gemdir}/doc

%changelog
* Tue Nov 27 2018 Jeanne Greulich <[email protected]> - 4.3.1
- Added missing dependencies to the rubygem-simp-cli.spec file

* Tue Oct 12 2018 Chris Tessmer <[email protected]> - 4.3.0
- `simp config` removes the deprecated Puppet setting `trusted_server_facts`
- Add `:version` to `Simp::Cli::Utils.puppet_info`
Expand Down
2 changes: 1 addition & 1 deletion lib/simp/cli/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Simp; end

class Simp::Cli
VERSION = '4.3.0'
VERSION = '4.3.1'
end

0 comments on commit bd5ab45

Please sign in to comment.