No rubypick in RHEL
This commit is contained in:
parent
64ef57b28a
commit
21f5a166ee
10
ruby.spec
10
ruby.spec
|
@ -58,14 +58,14 @@
|
||||||
|
|
||||||
%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/')
|
%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/')
|
||||||
|
|
||||||
%if 0%{?fedora} >= 19 || 0%{?rhel} > 7
|
%if 0%{?fedora} >= 19
|
||||||
%global with_rubypick 1
|
%global with_rubypick 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Summary: An interpreter of object-oriented scripting language
|
Summary: An interpreter of object-oriented scripting language
|
||||||
Name: ruby
|
Name: ruby
|
||||||
Version: %{ruby_version}
|
Version: %{ruby_version}
|
||||||
Release: %{release_string}.1
|
Release: %{release_string}.2
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
# Public Domain for example for: include/ruby/st.h, strftime.c, missing/*, ...
|
# Public Domain for example for: include/ruby/st.h, strftime.c, missing/*, ...
|
||||||
# MIT and CCO: ccan/*
|
# MIT and CCO: ccan/*
|
||||||
|
@ -130,7 +130,8 @@ Patch7: ruby-2.2.3-Generate-preludes-using-miniruby.patch
|
||||||
Patch9: ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch
|
Patch9: ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch
|
||||||
|
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Suggests: rubypick
|
# No rubypick in RHEL8
|
||||||
|
# Suggests: rubypick
|
||||||
Recommends: ruby(rubygems) >= %{rubygems_version}
|
Recommends: ruby(rubygems) >= %{rubygems_version}
|
||||||
Recommends: rubygem(bigdecimal) >= %{bigdecimal_version}
|
Recommends: rubygem(bigdecimal) >= %{bigdecimal_version}
|
||||||
Recommends: rubygem(did_you_mean) >= %{did_you_mean_version}
|
Recommends: rubygem(did_you_mean) >= %{did_you_mean_version}
|
||||||
|
@ -1022,6 +1023,9 @@ make check TESTS="-v $DISABLE_TESTS"
|
||||||
%{gem_dir}/specifications/xmlrpc-%{xmlrpc_version}.gemspec
|
%{gem_dir}/specifications/xmlrpc-%{xmlrpc_version}.gemspec
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 21 2018 Troy Dawson <tdawson@redhat.com> - 2.4.2-84.2
|
||||||
|
- No rubypick in RHEL
|
||||||
|
|
||||||
* Tue Oct 24 2017 Troy Dawson <tdawson@redhat.com> - 2.4.2-84.1
|
* Tue Oct 24 2017 Troy Dawson <tdawson@redhat.com> - 2.4.2-84.1
|
||||||
- Cleanup spec file conditionals
|
- Cleanup spec file conditionals
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue