Revision a9de9d56
Added by Dominic Cleal over 8 years ago
rubygem-kafo/rubygem-kafo.spec | ||
---|---|---|
License: GPLv3+
|
||
URL: https://github.com/theforeman/kafo
|
||
Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
|
||
%if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && 0%{!?scl:1})
|
||
%if 0%{?el6} && 0%{!?scl:1}
|
||
Requires: %{?scl_prefix}ruby(abi)
|
||
%else
|
||
Requires: %{?scl_prefix}ruby(release)
|
||
... | ... | |
Requires: %{?scl_prefix}rubygems
|
||
|
||
BuildRequires: %{?scl_prefix}rubygems-devel
|
||
%if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && 0%{!?scl:1})
|
||
%if 0%{?el6} && 0%{!?scl:1}
|
||
BuildRequires: %{?scl_prefix}ruby(abi)
|
||
%else
|
||
BuildRequires: %{?scl_prefix}ruby(release)
|
||
... | ... | |
%exclude %{gem_instdir}/Rakefile
|
||
# add once tests are added (maybe spec dir instead)
|
||
#%exclude %{gem_instdir}/test
|
||
%{gem_cache}
|
||
%{gem_spec}
|
||
|
||
%files doc
|
rubygem-kafo_parsers/rubygem-kafo_parsers.spec | ||
---|---|---|
License: GPLv3+
|
||
URL: https://github.com/theforeman/kafo_parsers
|
||
Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
|
||
%if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && 0%{!?scl:1})
|
||
%if 0%{?el6} && 0%{!?scl:1}
|
||
Requires: %{?scl_prefix}ruby(abi)
|
||
%else
|
||
Requires: %{?scl_prefix}ruby(release)
|
||
... | ... | |
|
||
BuildRequires: %{?scl_prefix}rubygems-devel
|
||
|
||
%if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && 0%{!?scl:1})
|
||
%if 0%{?el6} && 0%{!?scl:1}
|
||
BuildRequires: %{?scl_prefix}ruby(abi)
|
||
%else
|
||
BuildRequires: %{?scl_prefix}ruby(release)
|
||
... | ... | |
%exclude %{gem_instdir}/Rakefile
|
||
# add once tests are added (maybe spec dir instead)
|
||
#%exclude %{gem_instdir}/test
|
||
%{gem_cache}
|
||
%{gem_spec}
|
||
|
||
%files doc
|
Also available in: Unified diff
Modernise specs for ruby193/tfm change