Revision 5fcdf834
Added by specs-from-koji (Jenkins) almost 10 years ago
rpms/epel-6/ruby193-rubygem-logging/rubygem-logging.spec | ||
---|---|---|
%{?scl:%scl_package rubygem-%{gem_name}}
|
||
%{!?scl:%global pkg_name %{name}}
|
||
|
||
%if !("%{?scl}" == "ruby193" || 0%{?rhel} > 6 || 0%{?fedora} > 16)
|
||
%global gem_dir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
|
||
%global gem_instdir %{gem_dir}/gems/%{gem_name}-%{version}
|
||
%global gem_docdir %{gem_dir}/doc/%{gem_name}-%{version}
|
||
%global gem_cache %{gem_dir}/cache
|
||
%global gem_spec %{gem_dir}/specifications
|
||
%endif
|
||
|
||
%global gem_name logging
|
||
|
||
Summary: A flexible and extendable logging library for Ruby
|
||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
||
Version: 1.8.1
|
||
Release: 25%{?dist}
|
||
Release: 26%{?dist}
|
||
Group: Development/Languages
|
||
License: Ruby or BSD
|
||
URL: http://rubygems.org/gems/logging
|
||
... | ... | |
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
Requires: %{?scl_prefix}ruby(rubygems)
|
||
|
||
%if 0%{?fedora} && 0%{?fedora} > 18
|
||
Requires: %{?scl_prefix}ruby(release)
|
||
%if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
|
||
Requires: %{?scl_prefix}ruby(abi)
|
||
%else
|
||
%if "%{?scl}" == "ruby193" || 0%{?rhel} > 6 || 0%{?fedora} > 16
|
||
Requires: %{?scl_prefix}ruby(abi) = 1.9.1
|
||
%else
|
||
Requires: %{?scl_prefix}ruby(abi) = 1.8
|
||
%endif
|
||
Requires: %{?scl_prefix}ruby(release)
|
||
%endif
|
||
|
||
Requires: %{?scl_prefix}rubygem(little-plugger) >= 1.1.3
|
||
Requires: %{?scl_prefix}rubygem(multi_json) >= 1.3.6
|
||
|
||
%if "%{?scl}" == "ruby193" || 0%{?rhel} > 6 || 0%{?fedora} > 16
|
||
BuildRequires: %{?scl_prefix}rubygems-devel
|
||
%endif
|
||
|
||
BuildRequires: %{?scl_prefix}rubygem(little-plugger) >= 1.1.3
|
||
# BuildRequires: %{?scl_prefix}rubygem(little-plugger) >= 1.1.3
|
||
# BuildRequires: %{?scl_prefix}rubygem(flexmock) >= 0.9.0
|
||
# BuildRequires: %{?scl_prefix}rubygem(minitest)
|
||
BuildArch: noarch
|
||
... | ... | |
%doc %{gem_instdir}/History.txt
|
||
|
||
%changelog
|
||
* Thu May 29 2014 Dominic Cleal <dcleal@redhat.com> 1.8.1-26
|
||
- Modernise and update for EL7 (dcleal@redhat.com)
|
||
|
||
* Wed Aug 28 2013 Dominic Cleal <dcleal@redhat.com> 1.8.1-25
|
||
- Don't override gem macros when building under SCL (dcleal@redhat.com)
|
||
|
Also available in: Unified diff
Update ruby193-rubygem-logging to 1.8.1-26.el6
- Modernise and update for EL7 (dcleal@redhat.com)