Revision ce71453b
Added by Dominic Cleal over 8 years ago
rubygem-foreman_custom_parameters/rubygem-foreman_custom_parameters.spec | ||
---|---|---|
|
||
%global gem_name foreman_custom_parameters
|
||
|
||
%define rubyabi 1.9.1
|
||
%global foreman_dir /usr/share/foreman
|
||
%global foreman_bundlerd_dir %{foreman_dir}/bundler.d
|
||
%global foreman_pluginconf_dir %{foreman_dir}/config/settings.plugins.d
|
||
... | ... | |
|
||
Requires: foreman >= 1.2.0
|
||
|
||
%if 0%{?fedora} > 18
|
||
Requires: %{?scl_prefix_ruby}ruby(release)
|
||
%else
|
||
Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
|
||
%endif
|
||
Requires: %{?scl_prefix_ruby}rubygems
|
||
|
||
%if 0%{?fedora} > 18
|
||
BuildRequires: %{?scl_prefix_ruby}ruby(release)
|
||
%else
|
||
BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
|
||
%endif
|
||
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
|
||
BuildRequires: %{?scl_prefix_ruby}rubygems
|
||
|
Also available in: Unified diff
Replace ruby(abi) with ruby(release) in SCL-only specs