Project

General

Profile

« Previous | Next » 

Revision e4e6840b

Added by Dominic Cleal almost 9 years ago

Fix checks against scl name, optimise rhel/empty SCL conditional

View differences:

rubygem-logging/rubygem-logging.spec
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: %{?scl_prefix_ruby}ruby(rubygems)
%if "%{?scl}" == "ruby193" || (0%{?rhel} == 6 && "%{?scl}" == "")
%if "%{?scl_ruby}" == "ruby193" || (0%{?el6} && 0%{!?scl:1})
Requires: %{?scl_prefix_ruby}ruby(abi)
%else
Requires: %{?scl_prefix_ruby}ruby(release)

Also available in: Unified diff