Improve "with" conditional statement as inline.
This commit is contained in:
parent
9f971e4cf2
commit
9bc7bec4a7
19
ruby.spec
19
ruby.spec
@ -148,16 +148,10 @@ BuildRequires: libyaml-devel
|
|||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
# Needed to pass test_set_program_name(TestRubyOptions)
|
# Needed to pass test_set_program_name(TestRubyOptions)
|
||||||
BuildRequires: procps
|
BuildRequires: procps
|
||||||
%if %{with systemtap}
|
%{?with_systemtap:BuildRequires: %{_bindir}/dtrace}
|
||||||
BuildRequires: %{_bindir}/dtrace
|
|
||||||
%endif
|
|
||||||
# RubyGems test suite optional dependencies.
|
# RubyGems test suite optional dependencies.
|
||||||
%if %{with git}
|
%{?with_git:BuildRequires: git}
|
||||||
BuildRequires: git
|
%{?with_cmake:BuildRequires: %{_bindir}/cmake}
|
||||||
%endif
|
|
||||||
%if %{with cmake}
|
|
||||||
BuildRequires: %{_bindir}/cmake
|
|
||||||
%endif
|
|
||||||
# Required to test hardening.
|
# Required to test hardening.
|
||||||
BuildRequires: %{_bindir}/checksec
|
BuildRequires: %{_bindir}/checksec
|
||||||
BuildRequires: multilib-rpm-config
|
BuildRequires: multilib-rpm-config
|
||||||
@ -723,10 +717,8 @@ touch abrt.rb
|
|||||||
# runruby, so re-enable them).
|
# runruby, so re-enable them).
|
||||||
make runruby TESTRUN_SCRIPT="--enable-gems %{SOURCE12}"
|
make runruby TESTRUN_SCRIPT="--enable-gems %{SOURCE12}"
|
||||||
|
|
||||||
%if %{with systemtap}
|
|
||||||
# Check if systemtap is supported.
|
# Check if systemtap is supported.
|
||||||
make runruby TESTRUN_SCRIPT=%{SOURCE13}
|
%{?with_systemtap:make runruby TESTRUN_SCRIPT=%{SOURCE13}}
|
||||||
%endif
|
|
||||||
|
|
||||||
DISABLE_TESTS=""
|
DISABLE_TESTS=""
|
||||||
|
|
||||||
@ -1042,8 +1034,9 @@ make check TESTS="-v $DISABLE_TESTS"
|
|||||||
%{gem_dir}/specifications/xmlrpc-%{xmlrpc_version}.gemspec
|
%{gem_dir}/specifications/xmlrpc-%{xmlrpc_version}.gemspec
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Oct 21 2017 Jun Aruga <jaruga@redhat.com> - 2.4.2-86
|
* Fri Oct 27 2017 Jun Aruga <jaruga@redhat.com> - 2.4.2-86
|
||||||
- Add macro to remove rubypick dependency.
|
- Add macro to remove rubypick dependency.
|
||||||
|
- Improve "with" conditional statement as inline.
|
||||||
|
|
||||||
* Thu Oct 19 2017 Jun Aruga <jaruga@redhat.com> - 2.4.2-85
|
* Thu Oct 19 2017 Jun Aruga <jaruga@redhat.com> - 2.4.2-85
|
||||||
- Add macros to remove systemtap, git and cmake dependencies.
|
- Add macros to remove systemtap, git and cmake dependencies.
|
||||||
|
Loading…
Reference in New Issue
Block a user