Mock Version: 2.9
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-prawn-svg.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1612420915.660338/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fbd90f02d00>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lyi1wyqt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lyi1wyqt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ee6ba40ceb674b0d910ab652a1db6b08', '-D', '/var/lib/mock/epel-8-x86_64-1612420915.660338/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lyi1wyqt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-prawn-svg.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/rubygem-prawn-svg-0.31.0-2.el8.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-prawn-svg.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1612420915.660338/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fbd90f02d00>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lyi1wyqt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lyi1wyqt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '47202c7622b7495d9debae8d403ba5e6', '-D', '/var/lib/mock/epel-8-x86_64-1612420915.660338/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lyi1wyqt:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-prawn-svg.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IZizT8
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf prawn-svg-0.31.0
+ /usr/bin/gem unpack /builddir/build/SOURCES/prawn-svg-0.31.0.gem
Unpacked gem: '/builddir/build/BUILD/prawn-svg-0.31.0'
+ /usr/bin/gem spec /builddir/build/SOURCES/prawn-svg-0.31.0.gem --ruby
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd prawn-svg-0.31.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1yJSsd
+ umask 022
+ cd /builddir/build/BUILD
+ cd prawn-svg-0.31.0
+ gem build ../prawn-svg-0.31.0.gemspec
  Successfully built RubyGem
  Name: prawn-svg
  Version: 0.31.0
  File: prawn-svg-0.31.0.gem
+ mkdir -p ./usr/share/gems
+ CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' '
+ gem install -V --local --build-root . --force --document=ri,rdoc prawn-svg-0.31.0.gem
WARNING:  You build with buildroot.
  Build root: /builddir/build/BUILD/prawn-svg-0.31.0
  Bin dir: /builddir/build/BUILD/prawn-svg-0.31.0/usr/bin
  Gem home: /builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/.gitignore
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/.rspec
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/.travis.yml
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/Gemfile
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/LICENSE
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/README.md
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/Rakefile
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn-svg.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/attributes.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/attributes/clip_path.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/attributes/opacity.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/attributes/space.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/attributes/stroke.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/attributes/transform.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/calculators/arc_to_bezier_curve.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/calculators/aspect_ratio.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/calculators/document_sizing.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/calculators/pixels.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/color.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/css/font_family_parser.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/css/selector_parser.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/css/stylesheets.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/document.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/base.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/call_duplicator.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/circle.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/clip_path.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/container.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/depth_first_base.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/ellipse.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/gradient.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/ignored.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/image.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/line.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/marker.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/path.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/polygon.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/polyline.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/rect.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/root.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/text.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/text_component.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/use.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/elements/viewport.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/extension.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/extensions/additional_gradient_transforms.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/font.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/font_registry.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/interface.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/loaders/data.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/loaders/file.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/loaders/web.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/pathable.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/properties.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/state.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/transform_parser.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/ttf.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/url_loader.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/lib/prawn/svg/version.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/prawn-svg.gemspec
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/integration_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/attributes/opacity_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/attributes/transform_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/calculators/aspect_ratio_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/calculators/document_sizing_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/calculators/pixels_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/color_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/css/font_family_parser_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/css/selector_parser_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/css/stylesheets_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/document_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/elements/base_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/elements/gradient_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/elements/line_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/elements/marker_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/elements/path_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/elements/polygon_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/elements/polyline_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/elements/text_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/font_registry_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/font_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/interface_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/loaders/data_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/loaders/file_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/loaders/web_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/pathable_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/properties_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/transform_parser_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/ttf_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/prawn/svg/url_loader_spec.rb
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_images/mushroom-long.jpg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_images/mushroom-wide.jpg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_output/.keep
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/arcs01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/arrows.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/cap_styles.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/circle01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/clip_path.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/close_path.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/cubic01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/cubic01a.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/cubic02.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/display_none.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/double_opacity.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/ellipse01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/gistfile1.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/google_charts.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/gradient_transform.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/gradients.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/hidden_paths.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/highcharts.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/image01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/image02_base64.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/image03.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/line01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/links.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/marker.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/markers_degenerate_cp.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/maths.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/matrix_transform.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/matrix_transform_3.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/negminy.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/no_width_or_height.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/offset_viewport.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/omnigraffle.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/opacity01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/path.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/pie_piece.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/polygon01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/polyline01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/preserve-space.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/quad01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/radgrad01-bounding.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/radgrad01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/rect01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/rect02.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/rotate_scale.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/scale.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/scruffy_graph.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/subfamilies.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/subviewports.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/subviewports2.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/svg_fill.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/text-decoration.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/text_entities.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/text_stroke.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/transform.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/tref01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/triangle01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/tspan01.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/tspan02.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/tspan03-cc.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/tspan03.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/tspan04.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/tspan05.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/tspan91.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/use.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/use_disordered.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/viewbox.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/viewport.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_svg/warning-radioactive.svg
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/sample_ttf/OpenSans-SemiboldItalic.ttf
/builddir/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0/spec/spec_helper.rb
Successfully installed prawn-svg-0.31.0
Parsing documentation for prawn-svg-0.31.0
Parsing sources...
  1% [ 1/53]  lib/prawn-svg.rb
  3% [ 2/53]  lib/prawn/svg/attributes.rb
  5% [ 3/53]  lib/prawn/svg/attributes/clip_path.rb
  7% [ 4/53]  lib/prawn/svg/attributes/opacity.rb
  9% [ 5/53]  lib/prawn/svg/attributes/space.rb
 11% [ 6/53]  lib/prawn/svg/attributes/stroke.rb
 13% [ 7/53]  lib/prawn/svg/attributes/transform.rb
 15% [ 8/53]  lib/prawn/svg/calculators/arc_to_bezier_curve.rb
 16% [ 9/53]  lib/prawn/svg/calculators/aspect_ratio.rb
 18% [10/53]  lib/prawn/svg/calculators/document_sizing.rb
 20% [11/53]  lib/prawn/svg/calculators/pixels.rb
 22% [12/53]  lib/prawn/svg/color.rb
 24% [13/53]  lib/prawn/svg/css/font_family_parser.rb
 26% [14/53]  lib/prawn/svg/css/selector_parser.rb
 28% [15/53]  lib/prawn/svg/css/stylesheets.rb
 30% [16/53]  lib/prawn/svg/document.rb
 32% [17/53]  lib/prawn/svg/elements.rb
 33% [18/53]  lib/prawn/svg/elements/base.rb
 35% [19/53]  lib/prawn/svg/elements/call_duplicator.rb
 37% [20/53]  lib/prawn/svg/elements/circle.rb
 39% [21/53]  lib/prawn/svg/elements/clip_path.rb
 41% [22/53]  lib/prawn/svg/elements/container.rb
 43% [23/53]  lib/prawn/svg/elements/depth_first_base.rb
 45% [24/53]  lib/prawn/svg/elements/ellipse.rb
 47% [25/53]  lib/prawn/svg/elements/gradient.rb
 49% [26/53]  lib/prawn/svg/elements/ignored.rb
 50% [27/53]  lib/prawn/svg/elements/image.rb
 52% [28/53]  lib/prawn/svg/elements/line.rb
 54% [29/53]  lib/prawn/svg/elements/marker.rb
 56% [30/53]  lib/prawn/svg/elements/path.rb
 58% [31/53]  lib/prawn/svg/elements/polygon.rb
 60% [32/53]  lib/prawn/svg/elements/polyline.rb
 62% [33/53]  lib/prawn/svg/elements/rect.rb
 64% [34/53]  lib/prawn/svg/elements/root.rb
 66% [35/53]  lib/prawn/svg/elements/text.rb
 67% [36/53]  lib/prawn/svg/elements/text_component.rb
 69% [37/53]  lib/prawn/svg/elements/use.rb
 71% [38/53]  lib/prawn/svg/elements/viewport.rb
 73% [39/53]  lib/prawn/svg/extension.rb
 75% [40/53]  lib/prawn/svg/extensions/additional_gradient_transforms.rb
 77% [41/53]  lib/prawn/svg/font.rb
 79% [42/53]  lib/prawn/svg/font_registry.rb
 81% [43/53]  lib/prawn/svg/interface.rb
 83% [44/53]  lib/prawn/svg/loaders/data.rb
 84% [45/53]  lib/prawn/svg/loaders/file.rb
 86% [46/53]  lib/prawn/svg/loaders/web.rb
 88% [47/53]  lib/prawn/svg/pathable.rb
 90% [48/53]  lib/prawn/svg/properties.rb
 92% [49/53]  lib/prawn/svg/state.rb
 94% [50/53]  lib/prawn/svg/transform_parser.rb
 96% [51/53]  lib/prawn/svg/ttf.rb
 98% [52/53]  lib/prawn/svg/url_loader.rb
100% [53/53]  lib/prawn/svg/version.rb
Installing ri documentation for prawn-svg-0.31.0
Installing darkfish documentation for prawn-svg-0.31.0
Done installing documentation for prawn-svg after 1 seconds
1 gem installed
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.A8xbrm
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/rubygem-prawn-svg-0.31.0-2.el8.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/rubygem-prawn-svg-0.31.0-2.el8.x86_64
++ dirname /builddir/build/BUILDROOT/rubygem-prawn-svg-0.31.0-2.el8.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/rubygem-prawn-svg-0.31.0-2.el8.x86_64
+ cd prawn-svg-0.31.0
+ mkdir -p /builddir/build/BUILDROOT/rubygem-prawn-svg-0.31.0-2.el8.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-prawn-svg-0.31.0-2.el8.x86_64/usr/share/gems/
+ /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.31.0-2.el8 --unique-debug-suffix -0.31.0-2.el8.x86_64 --unique-debug-src-base rubygem-prawn-svg-0.31.0-2.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/prawn-svg-0.31.0
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile '' 1
+ /usr/lib/rpm/brp-python-hardlink
+ PYTHON3=/usr/libexec/platform-python
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.PTj61w
+ umask 022
+ cd /builddir/build/BUILD
~/build/BUILD/prawn-svg-0.31.0/usr/share/gems/gems/prawn-svg-0.31.0 ~/build/BUILD/prawn-svg-0.31.0
+ cd prawn-svg-0.31.0
+ pushd ./usr/share/gems/gems/prawn-svg-0.31.0
+ sed -i '/require '\''bundler'\''/ s/^/#/' spec/spec_helper.rb
+ sed -i '/Bundler/ s/^/#/' spec/spec_helper.rb
+ rspec -rprawn-svg spec
Integration test
  a basic SVG file
    is correctly converted to a call stack
  with option :position
    aligns the image as requested
  with option :vposition
    aligns the image as requested
  sample file rendering
    has at least 10 SVG sample files to test
    renders the warning-radioactive.svg sample file without warnings or crashing
    renders the viewport.svg sample file without warnings or crashing
    renders the viewbox.svg sample file without warnings or crashing
    renders the use_disordered.svg sample file without warnings or crashing
    renders the use.svg sample file without warnings or crashing
    renders the tspan91.svg sample file without warnings or crashing
    renders the tspan05.svg sample file without warnings or crashing
    renders the tspan04.svg sample file without warnings or crashing
    renders the tspan03.svg sample file without warnings or crashing
    renders the tspan03-cc.svg sample file without warnings or crashing
    renders the tspan02.svg sample file without warnings or crashing
    renders the tspan01.svg sample file without warnings or crashing
    renders the triangle01.svg sample file without warnings or crashing
    renders the tref01.svg sample file without warnings or crashing
    renders the transform.svg sample file without warnings or crashing
    renders the text_stroke.svg sample file without warnings or crashing
    renders the text_entities.svg sample file without warnings or crashing
    renders the text-decoration.svg sample file without warnings or crashing
    renders the svg_fill.svg sample file without warnings or crashing
    renders the subviewports2.svg sample file without warnings or crashing
    renders the subviewports.svg sample file without warnings or crashing
    renders the subfamilies.svg sample file without warnings or crashing
    renders the scruffy_graph.svg sample file without warnings or crashing
    renders the scale.svg sample file without warnings or crashing
    renders the rotate_scale.svg sample file without warnings or crashing
    renders the rect02.svg sample file without warnings or crashing
    renders the rect01.svg sample file without warnings or crashing
    renders the radgrad01.svg sample file without warnings or crashing
    renders the radgrad01-bounding.svg sample file without warnings or crashing
    renders the quad01.svg sample file without warnings or crashing
    renders the preserve-space.svg sample file without warnings or crashing
    renders the polyline01.svg sample file without warnings or crashing
    renders the polygon01.svg sample file without warnings or crashing
    renders the pie_piece.svg sample file without warnings or crashing
    renders the path.svg sample file without warnings or crashing
    renders the opacity01.svg sample file without warnings or crashing
    renders the omnigraffle.svg sample file without warnings or crashing
    renders the offset_viewport.svg sample file without warnings or crashing
    renders the no_width_or_height.svg sample file without warnings or crashing
    renders the negminy.svg sample file without warnings or crashing
    renders the matrix_transform_3.svg sample file without warnings or crashing
    renders the matrix_transform.svg sample file without warnings or crashing
    renders the maths.svg sample file without warnings or crashing
    renders the markers_degenerate_cp.svg sample file without warnings or crashing
    renders the marker.svg sample file without warnings or crashing
    renders the links.svg sample file without warnings or crashing
    renders the line01.svg sample file without warnings or crashing
    renders the image03.svg sample file without warnings or crashing
    renders the image02_base64.svg sample file without warnings or crashing
    renders the image01.svg sample file without warnings or crashing
PDF's built-in fonts have very limited support for internationalized text.
If you need full UTF-8 support, consider using an external font instead.
To disable this warning, add the following line to your code:
Prawn::Fonts::AFM.hide_m17n_warning = true
    renders the highcharts.svg sample file without warnings or crashing
    renders the hidden_paths.svg sample file without warnings or crashing
    renders the gradients.svg sample file without warnings or crashing
    renders the gradient_transform.svg sample file without warnings or crashing
    renders the google_charts.svg sample file without warnings or crashing
    renders the gistfile1.svg sample file without warnings or crashing
    renders the ellipse01.svg sample file without warnings or crashing
    renders the double_opacity.svg sample file without warnings or crashing
    renders the display_none.svg sample file without warnings or crashing
    renders the cubic02.svg sample file without warnings or crashing
    renders the cubic01a.svg sample file without warnings or crashing
    renders the cubic01.svg sample file without warnings or crashing
    renders the close_path.svg sample file without warnings or crashing
    renders the clip_path.svg sample file without warnings or crashing
    renders the circle01.svg sample file without warnings or crashing
    renders the cap_styles.svg sample file without warnings or crashing
    renders the arrows.svg sample file without warnings or crashing
    renders the arcs01.svg sample file without warnings or crashing
  multiple file rendering
    renders multiple files on to the same PDF
Prawn::SVG::Attributes::Opacity
  #parse_opacity_attributes_and_call
    with no opacity specified
      does nothing
    with opacity
      sets fill and stroke opacity
    with just fill opacity
      sets fill opacity and sets stroke opacity to 1
    with an existing fill/stroke opacity
      multiplies the new opacity by the old
    with stroke, fill, and opacity all specified
      choses the lower of them
Prawn::SVG::Attributes::Transform
  when a non-identity matrix is requested
    passes the transform and executes the returned matrix
  when an identity matrix is requested
    does not execute any commands
  when transform is blank
    does nothing
Prawn::SVG::Calculators::AspectRatio
  handles none
  defaults to 'xMidYMid meet' if nothing is supplied
  defaults to 'xMidYMid meet' if something invalid is supplied
  using meet
    with smaller containers than objects
      correctly calculates the result
    with bigger containers than objects
      correctly calculates the result
    with bigger square containers
      correctly calculates the result
    with oddly shaped containers
      correctly calculates the result
  using slice
    with smaller containers than objects
      correctly calculates the result
    with bigger containers than objects
      correctly calculates the result
    with oddly shaped containers
      correctly calculates the result
Prawn::SVG::Calculators::DocumentSizing
  #initialize
    takes bounds and a set of attributes and calls set_from_attributes
  #set_from_attributes
    sets ivars from the passed-in attributes hash
  #calculate
    calculates the document sizing measurements for a given set of inputs
    scales again based on requested width
    scales again based on requested height
    correctly handles % values being passed in
    when SVG does not specify width and height
      when a viewBox is specified
        defaults to 100% width and uses the viewbox ratio for height
      when a requested width and height are supplied
        uses the requested width and height
      when a viewBox and a requested width/height are supplied
        uses the requested width and height
      when a viewBox and a requested width is supplied
        uses the requested width and calculates the height based on the viewBox
      when a viewBox and a requested height is supplied
        uses the requested height and calculates the width based on the viewBox
      when neither viewBox nor requested width/height specified
        defaults to 100%
Prawn::SVG::Calculators::Pixels
  #pixels
    converts a variety of measurement units to points
  #x_pixels
    uses the viewport width for percentages
  #y_pixels
    uses the viewport height for percentages
  #x
    performs the same as #x_pixels
  #y
    performs the same as #y_pixels but subtracts the pixels from the page height
Prawn::SVG::Color
  ::color_to_hex
    converts #xxx to a hex value
    converts #xxxxxx to a hex value
    converts an html colour name to a hex value
    converts an rgb string to a hex value
    scans the string and finds the first colour it can parse
    ignores url()s
    returns black if the color doesn't exist
    returns nil if there's no fallback after a url()
  ::parse
    returns a list of all colors parsed, ignoring impossible or non-existent colors
    appends black to the list if there aren't any url() references
Prawn::SVG::CSS::FontFamilyParser
  #parse
    correctly handles quotes and escaping
Prawn::SVG::CSS::SelectorParser
  ::parse
    parses a simple selector
    parses a complex selector
    parses attributes
Prawn::SVG::CSS::Stylesheets
  typical usage
    associates styles with elements
  style tag parsing
    scans the document for style tags and adds the style information to the css parser
Prawn::SVG::Document
  #initialize
    when unparsable XML is provided
      raises an exception
    when the user passes in a filename instead of SVG data
      raises an exception letting them know what they've done
Prawn::SVG::Elements::Base
  #initialize
    adds itself to the elements_by_id hash if an id attribute is supplied
  #process
    calls #parse and #apply so subclasses can parse the element
    appends calls to the parent element
    quietly absorbs a SkipElementQuietly exception
    absorbs a SkipElementError exception, logging a warning
    applying calls from the standard attributes
      appends the relevant calls
    fills and strokes
      with neither fill nor stroke
        is expected to eq ["end_path", [], []]
      with a fill only
        is expected to eq ["fill", [], []]
      with a stroke only
        is expected to eq ["stroke", [], []]
      with fill and stroke
        is expected to eq ["fill_and_stroke", [], []]
      with fill with evenodd fill rule
        is expected to eq ["fill", [{:fill_rule=>:even_odd}], []]
  #apply_colors
    doesn't change anything if no fill attribute provided
    doesn't change anything if 'inherit' fill attribute provided
    doesn't change anything if 'none' fill attribute provided
    uses the fill attribute's color
    uses black if the fill attribute's color is unparseable
    uses the color attribute if 'currentColor' fill attribute provided
    computes to 'none' if UnresolvableURLWithNoFallbackError is raised
    with a color attribute defined on a parent element
      uses the parent's color element if 'currentColor' fill attribute provided
  stylesheets
    applies stylesheet styling but style attributes take precedence
Prawn::SVG::Elements::Gradient
  object bounding box with linear gradient
    is stored in the document gradients table
    returns correct gradient arguments for an element
    returns nil if the element doesn't have a bounding box
  object bounding box with radial gradient
    is stored in the document gradients table
    returns correct gradient arguments for an element
  user space on use with linear gradient
    returns correct gradient arguments for an element
  user space on use with radial gradient
    returns correct gradient arguments for an element
  when gradientTransform is specified
    passes in the transform via the apply_transformations option
Prawn::SVG::Elements::Line
  with attributes specified
    renders the line
  with no attributes nor stroke specified
    outlines a path from 0,0 to 0,0
  with a fill specified
    ignores the fill
Prawn::SVG::Elements::Marker
  #parse
    forces display none
  #apply_marker
    adds the line and its marker to the call stack
Prawn::SVG::Elements::Path
  command parsing
    with a valid path
      correctly parses
    with m and M commands
      treats subsequent points to m/M command as relative/absolute depending on command
    with an empty path
      correctly parses
    with a path with invalid characters
      raises
    with a path with numerical data before a command letter
      raises
  when given an M path
    with typical arguments
      issues a move command
    with only one argument
      bails out
    with no arguments
      bails out
  when given an L path
    with typical arguments
      issues a line command
    with only one argument
      bails out
  when given a C path
    with typical arguments
      issues a curve command
    with incomplete arguments
      bails out
  when given an S path
    with typical arguments
      issues a curve command
    with incomplete arguments
      bails out
  when given a Q path
    with typical arguments
      issues a curve command
    with incomplete arguments
      bails out
  when given a T path
    with typical arguments
      issues a curve command
    with incomplete arguments
      bails out
  when given an A path
    that is pretty normal
      uses bezier curves to approximate an arc path
    with an identical start and end point
      ignores the path
    with an rx of 0
      substitutes a line_to
    with an ry of 0
      substitutes a line_to
    with incomplete arguments
      bails out
    with highly-compressed flags
      correctly parses them
Prawn::SVG::Elements::Polygon
  with a valid points attribute
    renders the polygon
  with a polygon that has an odd number of arguments
    ignores the last one
  with a polygon that has no arguments
    renders nothing
Prawn::SVG::Elements::Polyline
  with a valid points attribute
    renders the polyline
  with a polyline that has an odd number of arguments
    ignores the last one
  with a polyline that has no arguments
    renders nothing
Prawn::SVG::Elements::Text
  xml:space preserve
    when xml:space is preserve
      converts newlines and tabs to spaces, and preserves spaces
    when xml:space is unspecified
      strips space
  conventional whitespace handling
    correctly apportions white space between the tags
  when text-anchor is specified
    should inherit text-anchor from parent element
  letter-spacing
    calls character_spacing with the requested size
  underline
    marks the element to be underlined
  fill/stroke modes
    with a stroke and no fill
      calls text_rendering_mode with the requested options
    with a mixture of everything
      calls text_rendering_mode with the requested options
  font finding
    with a font that exists
      finds the font and uses it
    with a font that doesn't exist
      uses the fallback font
      when there is no fallback font
        doesn't call the font method and logs a warning
  <tref>
    references the text
  dx and dy attributes
    correctly calculates the positions of the text
  rotate attribute
    correctly calculates the positions of the text
Prawn::SVG::FontRegistry
  #load
    matches a built in font
    matches a default font
    not running font test because we couldn't find Verdana installed on the system (PENDING: Not yet implemented)
    returns nil if it can't find any such font
  #installed_fonts
    does not override existing entries in pdf when loading external fonts
  ::load_external_fonts
    scans the font path and loads in some fonts
Prawn::SVG::Font
  #initialize
    maps generic font name to built-in font
    preserves generic font name if mapped
Prawn::SVG::Interface
  #initialize
    invalid option detection
      rejects invalid options when debug is on
      does nothing if an invalid option is given and debug is off
  #draw
    when the sizing object indicates the sizes are invalid
      doesn't draw anything and adds a warning
    rewrites
      when fill_and_stroke is issued
        and fill rule is not set
          adds content 'B'
        and fill rule is evenodd
          adds content 'B*'
  #position
    when options[:at] supplied
      returns options[:at]
    when only a position is supplied
      (:left)
        is expected to eq [0, 600]
      (:center)
        is expected to eq [275, 600]
      (:right)
        is expected to eq [550, 600]
      a number
        is expected to eq [25.5, 600]
    when a vposition is supplied
      (:top)
        is expected to eq [0, 600]
      (:center)
        is expected to eq [0, 350]
      (:bottom)
        is expected to eq [0, 100]
      a number
        is expected to eq [0, 574.5]
  #sizing and #resize
    allows the advanced user to resize the SVG after learning about its dimensions
Prawn::SVG::Loaders::Data
  with a valid image/png data URL
    loads the data
  with a valid image/jpeg data URL
    loads the data
  with a data URL that has extra metadata
    loads the data
  with a data URL that's uppercase
    loads the data
  with a URL that's not a data scheme
    returns nil
  with a data URL that's not an image
    raises
  with a data URL that's not base64 encoded
    raises
Prawn::SVG::Loaders::File
  when an invalid path is supplied
    raises with an ArgumentError
  when a relative path is supplied
    loads the file
  when an absolute path without file scheme is supplied
    loads the file
  when an absolute path with file scheme is supplied
    loads the file
  when a path outside of our root is specified
    raises
  when a file: url with a host is specified
    raises
  when we're running on Windows
    automatically fixes up URI's misparsing of Windows file paths and loads the file
Prawn::SVG::Loaders::Web
  loads an HTTP URL
  with an https URL
    loads the HTTPS URL
  when the HTTP call raises
    re-raises the error as UrlLoader errors
  with a non-http, non-https URL
    returns nil
Prawn::SVG::Pathable
  #bounding_box
    determines the bounding box using the translated commands
  #apply_commands
    applies the commands to the call stack
  #apply_markers
    with marker-start attribute specified
      calls apply_marker on the marker
    with marker-mid attribute specified
      calls apply_marker on the marker
    with marker-end attribute specified
      calls apply_marker on the marker
Prawn::SVG::Properties
  #load_default_stylesheet
    loads in the defaults and returns self
  #set
    sets a property
    handles property names that are not lower case
    right-cases and strips keywords
    doesn't right-case values that aren't recognised as keywords
    sets a 'keyword restricted' property to its default if the value doesn't match a keyword
  #load_hash
    uses #set to load in a hash of properties
  #compute_properties
    auto-inherits inheritable properties when the property is not supplied
    doesn't auto-inherit non-inheritable properties
    inherits non-inheritable properties when specifically asked to
    uses the new property value
    font size
      when given a % as a font-size
        calculates the new font size
      when given 'larger' as a font-size
        calculates the new font size
      when given 'smaller' as a font-size
        calculates the new font size
      when given a value in 'em' as a font-size
        calculates the new font size
      when given a value in 'rem' as a font-size
        calculates the new font size
      when given a value in 'px' as a font-size
        uses the font size specified
      when given a value in 'pt' as a font-size
        uses the font size specified
      when given a value without units as a font-size
        uses the font size specified
      when given the keyword 'inherit' as a font-size
        uses the font size specified by the parent
  #numerical_font_size
    when the font size is a number
      returns the number as a float
    when the font size is one of the keyword size specifiers
      returns the font size number corresponding with the keyword
Prawn::SVG::TransformParser
  with no transform
    is expected to eq [1, 0, 0, 1, 0, 0]
  with translate
    is expected to eq [1, 0, 0, 1, 10, -20]
  with single argument translate
    is expected to eq [1, 0, 0, 1, 10, 0]
  with translateX
    is expected to eq [1, 0, 0, 1, 10, 0]
  with translateY
    is expected to eq [1, 0, 0, 1, 0, -10]
  with single argument rotate
    is expected to eq [0.8660254037844387, -0.49999999999999994, 0.49999999999999994, 0.8660254037844387, 0, 0]
  with triple argument rotate
    is expected to eq [0.8660254037844387, -0.49999999999999994, 0.49999999999999994, 0.8660254037844387, 113.39745962155611, 23.205080756887753]
  with scale
    is expected to eq [1.5, 0, 0, 1.5, 0, 0]
  with skewX
    is expected to eq [1, 0, -0.5773502691896257, 1, 0, 0]
  with skewY
    is expected to eq [1, -0.5773502691896257, 0, 1, 0, 0]
  with matrix
    is expected to eq [1, -2, -3, 4, 5, -6]
  with multiple
    is expected to eq [6, 0, 0, 6, 14, 0]
Prawn::SVG::TTF
  with a truetype font
    gets the English family and subfamily from the font file
  with a file that isn't a TTF
    has a nil family and subfamily
  with a file that doesn't exist
    has a nil family and subfamily
Prawn::SVG::UrlLoader
  #initialize
    sets options
  #load
    calls the Data loader and returns its output if successful
    calls the Web loader if the Data loader returns nothing, and returns its output if successful
    calls the File loader if the Data and Web loaders return nothing, and returns its output if successful
    raises if none of the loaders return any data
    when caching is enabled
      caches the result
    when caching is disabled
      does not cache the result
    when the cache is populated
      returns the cached value without calling a loader
    when web requests are disabled
      doesn't use the web loader
    when file requests are disabled
      doesn't use the file loader
Pending: (Failures listed here are expected and do not affect your suite's status)
  1) Prawn::SVG::FontRegistry#load not running font test because we couldn't find Verdana installed on the system
     # Not yet implemented
     # ./spec/prawn/svg/font_registry_spec.rb:26
Finished in 1.44 seconds (files took 0.38428 seconds to load)
296 examples, 0 failures, 1 pending
+ popd
~/build/BUILD/prawn-svg-0.31.0
+ exit 0
Processing files: rubygem-prawn-svg-0.31.0-2.el8.noarch
Provides: rubygem(prawn-svg) = 0.31.0-1 rubygem-prawn-svg = 0.31.0-2.el8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: (rubygem(css_parser) >= 1.6 with rubygem(css_parser) < 2) (rubygem(prawn) < 3 with rubygem(prawn) >= 0.11.1) ruby(rubygems)
Processing files: rubygem-prawn-svg-doc-0.31.0-2.el8.noarch
Provides: rubygem-prawn-svg-doc = 0.31.0-2.el8
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-prawn-svg-0.31.0-2.el8.x86_64
Wrote: /builddir/build/RPMS/rubygem-prawn-svg-0.31.0-2.el8.noarch.rpm
Wrote: /builddir/build/RPMS/rubygem-prawn-svg-doc-0.31.0-2.el8.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jNVkmP
+ umask 022
+ cd /builddir/build/BUILD
+ cd prawn-svg-0.31.0
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-prawn-svg-0.31.0-2.el8.x86_64
+ exit 0
Child return code was: 0