Project

General

Profile

« Previous | Next » 

Revision f5bc2cee

Added by Dominic Cleal about 8 years ago

Use gem_install macro

Fixes build errors on F24 where macro has documentation enabled, but
rubygems now has it disabled by default.

Modernises some use of directory macros.

View differences:

rubygem-hammer_cli_foreman_ssh/rubygem-hammer_cli_foreman_ssh.spec
%prep
%setup -n %{pkg_name}-%{version} -q -c -T
mkdir -p .%{gem_dir}
%{?scl:scl enable %{scl} - << \EOF}
gem install --local --install-dir .%{gem_dir} \
--force %{SOURCE0}
%{?scl:scl enable %{scl} - <<EOF}
%gem_install -n %{SOURCE0}
%{?scl:EOF}
%install

Also available in: Unified diff