Mock Version: 1.4.21 Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-ruby_version.spec'], chrootPath='/var/lib/mock/1240771-epel-7-x86_64-1581784179.339965/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os085qgt:/etc/resolv.conf']unshare_net=TrueprintOutput=True) ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-ruby_version.spec'], chrootPath='/var/lib/mock/1240771-epel-7-x86_64-1581784179.339965/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os085qgt:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os085qgt:/etc/resolv.conf'] Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os085qgt:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6a50016d32c9450ea8bb6c32fa96bcf3', '-D', '/var/lib/mock/1240771-epel-7-x86_64-1581784179.339965/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os085qgt:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-ruby_version.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6a50016d32c9450ea8bb6c32fa96bcf3', '-D', '/var/lib/mock/1240771-epel-7-x86_64-1581784179.339965/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os085qgt:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-ruby_version.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-ruby_version-1.0.1-9.el7.1.src.rpm Wrote: /builddir/build/SRPMS/rubygem-ruby_version-1.0.1-9.el7.1.src.rpm Child return code was: 0 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-ruby_version.spec'], chrootPath='/var/lib/mock/1240771-epel-7-x86_64-1581784179.339965/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os085qgt:/etc/resolv.conf']unshare_net=TrueprintOutput=True) ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-ruby_version.spec'], chrootPath='/var/lib/mock/1240771-epel-7-x86_64-1581784179.339965/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os085qgt:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os085qgt:/etc/resolv.conf'] Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os085qgt:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6e8bfe8e589642d38a6c783c9b4d2335', '-D', '/var/lib/mock/1240771-epel-7-x86_64-1581784179.339965/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os085qgt:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-ruby_version.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6e8bfe8e589642d38a6c783c9b4d2335', '-D', '/var/lib/mock/1240771-epel-7-x86_64-1581784179.339965/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os085qgt:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-ruby_version.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YqTXAg Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YqTXAg + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/ruby_version-1.0.1.gem + gem unpack /builddir/build/SOURCES/ruby_version-1.0.1.gem Unpacked gem: '/builddir/build/BUILD/ruby_version-1.0.1' Unpacked gem: '/builddir/build/BUILD/ruby_version-1.0.1' + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd ruby_version-1.0.1 + cd ruby_version-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/ruby_version-1.0.1.gem -l --ruby + gem spec /builddir/build/SOURCES/ruby_version-1.0.1.gem -l --ruby + exit 0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8qsXNi Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8qsXNi + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd ruby_version-1.0.1 + cd ruby_version-1.0.1 + gem build ruby_version.gemspec + gem build ruby_version.gemspec Successfully built RubyGem Successfully built RubyGem Name: ruby_version Name: ruby_version Version: 1.0.1 Version: 1.0.1 File: ruby_version-1.0.1.gem File: ruby_version-1.0.1.gem + mkdir -p ./usr/share/gems + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'\'' --with-cxxflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'\'' ' + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'\'' --with-cxxflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc ruby_version-1.0.1.gem + gem install -V --local --build-root . --force --document=ri,rdoc ruby_version-1.0.1.gem WARNING: You build with buildroot. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/ruby_version-1.0.1 Build root: /builddir/build/BUILD/ruby_version-1.0.1 Bin dir: /builddir/build/BUILD/ruby_version-1.0.1/usr/bin Bin dir: /builddir/build/BUILD/ruby_version-1.0.1/usr/bin Gem home: /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems Gem home: /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/.gitignore /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/.gitignore /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/.rspec /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/.rspec /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/.travis.yml /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/.travis.yml /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/ChangeLog.rdoc /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/ChangeLog.rdoc /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/Gemfile /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/Gemfile /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/Gemfile.lock /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/Gemfile.lock /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/LICENSE.txt /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/LICENSE.txt /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/README.rdoc /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/README.rdoc /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/Rakefile /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/Rakefile /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/lib/ruby_version.rb /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/lib/ruby_version.rb /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/pkg/ruby_version-1.0.0.gem /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/pkg/ruby_version-1.0.0.gem /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/ruby_version.gemspec /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/ruby_version.gemspec /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/spec/ruby_version_spec.rb /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/spec/ruby_version_spec.rb /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/spec/spec_helper.rb /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/spec/spec_helper.rb Successfully installed ruby_version-1.0.1 Successfully installed ruby_version-1.0.1 Parsing documentation for ruby_version-1.0.1 Parsing documentation for ruby_version-1.0.1 Parsing sources... Parsing sources... 100% [ 1/ 1] lib/ruby_version.rb 100% [ 1/ 1] lib/ruby_version.rb Installing ri documentation for ruby_version-1.0.1 Installing ri documentation for ruby_version-1.0.1 Installing darkfish documentation for ruby_version-1.0.1 Installing darkfish documentation for ruby_version-1.0.1 Done installing documentation for ruby_version after 0 seconds Done installing documentation for ruby_version after 0 seconds 1 gem installed 1 gem installed + exit 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uxMvco Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uxMvco + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64 '!=' / ']' + '[' /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64 + rm -rf /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64 + mkdir /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64 + cd ruby_version-1.0.1 + cd ruby_version-1.0.1 + mkdir -p /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64/usr/share/gems + mkdir -p /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64/usr/share/gems/ + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64/usr/share/gems/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/ruby_version-1.0.1 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/ruby_version-1.0.1 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.MWk3St Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.MWk3St + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd ruby_version-1.0.1 + cd ruby_version-1.0.1 ~/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1 ~/build/BUILD/ruby_version-1.0.1 ~/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1 ~/build/BUILD/ruby_version-1.0.1 + pushd ./usr/share/gems/gems/ruby_version-1.0.1 + pushd ./usr/share/gems/gems/ruby_version-1.0.1 + rspec -Ilib + rspec -Ilib RubyVersion RubyVersion should display RUBY_VERSION if called directly (to_s) should display RUBY_VERSION if called directly (to_s) should define some accessors should define some accessors with "is" method, with parameter with "is" method, with parameter should check for main version (1.8 or 1.9) when Float paramater is given should check for main version (1.8 or 1.9) when Float paramater is given should check with string comparison if parameter is not Float should check with string comparison if parameter is not Float with "is" method, without parameter, but method chaining with "is" method, without parameter, but method chaining should return a string for usage with comparison operators should return a string for usage with comparison operators should create some handy compare aliases should create some handy compare aliases also allows to check for the release dates also allows to check for the release dates 1 deprecation warning total 1 deprecation warning total Finished in 0.00609 seconds (files took 0.12693 seconds to load) Finished in 0.00609 seconds (files took 0.12693 seconds to load) 7 examples, 0 failures 7 examples, 0 failures Deprecation Warnings: Deprecation Warnings: Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/spec/ruby_version_spec.rb:10:in `block (2 levels) in '. Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /builddir/build/BUILD/ruby_version-1.0.1/usr/share/gems/gems/ruby_version-1.0.1/spec/ruby_version_spec.rb:10:in `block (2 levels) in '. If you need more of the backtrace for any of these deprecations to If you need more of the backtrace for any of these deprecations to identify where to make the necessary changes, you can configure identify where to make the necessary changes, you can configure `config.raise_errors_for_deprecations!`, and it will turn the `config.raise_errors_for_deprecations!`, and it will turn the deprecation warnings into errors, giving you the full backtrace. deprecation warnings into errors, giving you the full backtrace. ~/build/BUILD/ruby_version-1.0.1 ~/build/BUILD/ruby_version-1.0.1 + popd + popd + exit 0 + exit 0 Processing files: rubygem-ruby_version-1.0.1-9.el7.1.noarch Processing files: rubygem-ruby_version-1.0.1-9.el7.1.noarch Provides: rubygem(ruby_version) = 1.0.1 rubygem(ruby_version) = 1.0.1 rubygem-ruby_version = 1.0.1-9.el7.1 Provides: rubygem(ruby_version) = 1.0.1 rubygem(ruby_version) = 1.0.1 rubygem-ruby_version = 1.0.1-9.el7.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ruby(rubygems) Requires: ruby(rubygems) Processing files: rubygem-ruby_version-doc-1.0.1-9.el7.1.noarch Processing files: rubygem-ruby_version-doc-1.0.1-9.el7.1.noarch Provides: rubygem-ruby_version-doc = 1.0.1-9.el7.1 Provides: rubygem-ruby_version-doc = 1.0.1-9.el7.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64 Wrote: /builddir/build/RPMS/rubygem-ruby_version-1.0.1-9.el7.1.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-ruby_version-1.0.1-9.el7.1.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-ruby_version-doc-1.0.1-9.el7.1.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-ruby_version-doc-1.0.1-9.el7.1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.O484sU Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.O484sU + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd ruby_version-1.0.1 + cd ruby_version-1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.1-9.el7.1.x86_64 + exit 0 + exit 0 Child return code was: 0 Child return code was: 0