Revision 3c39c8f7
Added by specs-from-koji (Jenkins) almost 10 years ago
rpms/epel-6/rubygem-kafo_parsers/rubygem-kafo_parsers.spec | ||
---|---|---|
|
||
%global gem_name kafo_parsers
|
||
|
||
|
||
%define rubyabi 1.8
|
||
|
||
Summary: Puppet module parsers
|
||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
||
Version: 0.0.2
|
||
Version: 0.0.3
|
||
Release: 1%{?dist}
|
||
Group: Development/Libraries
|
||
License: GPLv3+
|
||
URL: https://github.com/theforeman/kafo_parsers
|
||
Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
|
||
%if 0%{?rhel} == 6 || 0%{?fedora} < 19
|
||
Requires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
|
||
%if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && 0%{!?scl:1})
|
||
Requires: %{?scl_prefix}ruby(abi)
|
||
%else
|
||
Requires: %{?scl_prefix}ruby(release)
|
||
%endif
|
||
Requires: %{?scl_prefix}puppet
|
||
Requires: %{?scl_prefix}rubygem(rdoc)
|
||
Requires: %{?scl_prefix}rubygems
|
||
|
||
%if 0%{?rhel} == 6 && 0%{?scl_prefix:0} || 0%{?fedora} > 17
|
||
BuildRequires: %{?scl_prefix}rubygems-devel
|
||
%else
|
||
%global gem_dir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
|
||
%global gem_docdir %{gem_dir}/doc/%{gem_name}-%{version}
|
||
%global gem_cache %{gem_dir}/cache/%{gem_name}-%{version}.gem
|
||
%global gem_spec %{gem_dir}/specifications/%{gem_name}-%{version}.gemspec
|
||
%global gem_instdir %{gem_dir}/gems/%{gem_name}-%{version}
|
||
%global gem_libdir %{gem_dir}/gems/%{gem_name}-%{version}/lib
|
||
%endif
|
||
|
||
%if 0%{?rhel} == 6 || 0%{?fedora} < 19
|
||
BuildRequires: %{?scl_prefix}ruby(abi) >= %{rubyabi}
|
||
%if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && 0%{!?scl:1})
|
||
BuildRequires: %{?scl_prefix}ruby(abi)
|
||
%else
|
||
BuildRequires: %{?scl_prefix}ruby(release)
|
||
%endif
|
||
BuildRequires: %{?scl_prefix}rubygems
|
||
BuildArch: noarch
|
||
... | ... | |
%doc %{gem_instdir}/README.md
|
||
|
||
%changelog
|
||
* Fri May 30 2014 Marek Hulan <mhulan@redhat.com> 0.0.3-1
|
||
- Modernise and update spec file for EL7 (dcleal@redhat.com)
|
||
- Fix annoying typo (dcleal@redhat.com)
|
||
|
||
* Mon Mar 31 2014 Marek Hulan <mhulan@redhat.com> 0.0.2-1
|
||
- Fix validation parsing of classes without code (mhulan@redhat.com)
|
||
- Correct example in README (jcmcken@gmail.com)
|
Also available in: Unified diff
Update rubygem-kafo_parsers to 0.0.3-1.el6
- Modernise and update spec file for EL7 (dcleal@redhat.com)
- Fix annoying typo (dcleal@redhat.com)