Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-licensee.spec'], chrootPath='/var/lib/mock/centos-stream+epel-next-9-x86_64-1687687868.521025/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q044rnf9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.q044rnf9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '5758e13f2a6b46588f90aa204d42fe3c', '-D', '/var/lib/mock/centos-stream+epel-next-9-x86_64-1687687868.521025/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q044rnf9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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;\\007"', '--setenv=PS1= \\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-licensee.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1592352000 Wrote: /builddir/build/SRPMS/rubygem-licensee-9.14.0-1.el9.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-licensee.spec'], chrootPath='/var/lib/mock/centos-stream+epel-next-9-x86_64-1687687868.521025/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q044rnf9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.q044rnf9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'e744b068d1c04dc7b646df556b28faba', '-D', '/var/lib/mock/centos-stream+epel-next-9-x86_64-1687687868.521025/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q044rnf9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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;\\007"', '--setenv=PS1= \\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-licensee.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1592352000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z5OspG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf licensee-9.14.0 + /usr/bin/gem unpack /builddir/build/SOURCES/licensee-9.14.0.gem Unpacked gem: '/builddir/build/BUILD/licensee-9.14.0' + /usr/bin/gem spec /builddir/build/SOURCES/licensee-9.14.0.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd licensee-9.14.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + read -d '' gemspec_remove_dep_script + : + echo 'gemspec_file = '\''/builddir/build/BUILD/licensee-9.14.0.gemspec'\'' name = '\''rugged'\'' requirements = nil type = :runtime spec = Gem::Specification.load(gemspec_file) abort("#{gemspec_file} is not accessible.") unless spec dep = spec.dependencies.detect { |d| d.type == type && d.name == name } if dep if requirements requirements = Gem::Requirement.create(requirements).requirements requirements.each do |r| unless dep.requirement.requirements.reject! { |dependency_requirements| dependency_requirements == r } abort("Requirement '\''#{r.first} #{r.last}'\'' was not possible to remove for dependency '\''#{dep}'\''!") end end spec.dependencies.delete dep if dep.requirement.requirements.empty? else spec.dependencies.delete dep end else abort("Dependency '\''#{name}'\'' was not found!") end + ruby File.write gemspec_file, spec.to_ruby' + unset -v gemspec_remove_dep_script + read -d '' gemspec_add_dep_script + : + ruby + echo 'gemspec_file = '\''/builddir/build/BUILD/licensee-9.14.0.gemspec'\'' name = '\''rugged'\'' requirements = nil type = :runtime spec = Gem::Specification.load(gemspec_file) abort("#{gemspec_file} is not accessible.") unless spec dep = spec.dependencies.detect { |d| d.type == type && d.name == name } if dep dep.requirement.concat requirements else spec.public_send "add_#{type}_dependency", name, requirements end File.write gemspec_file, spec.to_ruby' + unset -v gemspec_add_dep_script + read -d '' gemspec_remove_dep_script + : + ruby + echo 'gemspec_file = '\''/builddir/build/BUILD/licensee-9.14.0.gemspec'\'' name = '\''reverse_markdown'\'' requirements = nil type = :runtime spec = Gem::Specification.load(gemspec_file) abort("#{gemspec_file} is not accessible.") unless spec dep = spec.dependencies.detect { |d| d.type == type && d.name == name } if dep if requirements requirements = Gem::Requirement.create(requirements).requirements requirements.each do |r| unless dep.requirement.requirements.reject! { |dependency_requirements| dependency_requirements == r } abort("Requirement '\''#{r.first} #{r.last}'\'' was not possible to remove for dependency '\''#{dep}'\''!") end end spec.dependencies.delete dep if dep.requirement.requirements.empty? else spec.dependencies.delete dep end else abort("Dependency '\''#{name}'\'' was not found!") end File.write gemspec_file, spec.to_ruby' + unset -v gemspec_remove_dep_script + read -d '' gemspec_add_dep_script + : + ruby + echo 'gemspec_file = '\''/builddir/build/BUILD/licensee-9.14.0.gemspec'\'' name = '\''reverse_markdown'\'' requirements = nil type = :runtime spec = Gem::Specification.load(gemspec_file) abort("#{gemspec_file} is not accessible.") unless spec dep = spec.dependencies.detect { |d| d.type == type && d.name == name } if dep dep.requirement.concat requirements else spec.public_send "add_#{type}_dependency", name, requirements end File.write gemspec_file, spec.to_ruby' + unset -v gemspec_add_dep_script + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rADaxz + umask 022 + cd /builddir/build/BUILD + cd licensee-9.14.0 + gem build ../licensee-9.14.0.gemspec WARNING: open-ended dependency on rugged (>= 0) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on reverse_markdown (>= 0) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: licensee Version: 9.14.0 File: licensee-9.14.0.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc licensee-9.14.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/licensee-9.14.0 Bin dir: /builddir/build/BUILD/licensee-9.14.0/usr/bin Gem home: /builddir/build/BUILD/licensee-9.14.0/usr/share/gems Plugins dir: /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/plugins /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/LICENSE.md /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/bin/licensee /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/commands/detect.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/commands/diff.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/commands/license_path.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/commands/version.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/content_helper.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/hash_helper.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/license.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/license_field.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/license_meta.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/license_rules.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers/cabal.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers/cargo.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers/copyright.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers/cran.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers/dice.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers/dist_zilla.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers/exact.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers/gemspec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers/matcher.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers/npm_bower.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers/nuget.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers/package.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers/reference.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/matchers/spdx.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/project_files.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/project_files/license_file.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/project_files/package_manager_file.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/project_files/project_file.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/project_files/readme_file.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/projects.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/projects/fs_project.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/projects/git_project.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/projects/github_project.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/projects/project.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/rule.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/lib/licensee/version.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/licensee.gemspec /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/bin_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixture_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/apache-with-readme-notice/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/apache-with-readme-notice/LICENSE.header /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/apache-with-readme-notice/README.md /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/bsd-3-lists/LICENSE.BULLETS /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/bsd-3-lists/LICENSE.NUMBERS /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/bsd-3-noendorseslash/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/bsd-plus-patents/PATENTS /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/bsd-plus-patents/license.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/bsl/LICENSE_1_0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/case-sensitive/LiCeNsE.TxT /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/cc-by-nc-sa/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/cc-by-nd/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/cc0-cal2013/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/cc0-cc/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/copyright-encoding/COPYING /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/crlf-license/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/description-license/DESCRIPTION /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/description-license/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/detect.json /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/fcpl-modified-mpl/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/fixtures.yml /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/gemspec/project._gemspec /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/gpl3-without-instructions/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/html/license.html /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/ipsum.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/lgpl/COPYING.lesser /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/lgpl/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/license-folder/README.md /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/license-hashes.json /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/license-in-parent-folder/LICENSE.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/license-in-parent-folder/license-folder/LICENSE.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/license-with-readme-reference/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/license-with-readme-reference/README /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/markdown-gpl/LICENSE.md /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/mit-optional/LICENSE.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/mit-with-copyright/COPYRIGHT.md /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/mit-with-copyright/LICENSE.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/mit/LICENSE.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/mit/README.md /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/mpl-without-hrs/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/multiple-arrs/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/multiple-license-files/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/multiple-license-files/LICENSE.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/readme-invalid-encoding/README.md /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/readme/README.md /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/unlicense-noinfo/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/webmock/licensee.json /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/fixtures/wrk-modified-apache/LICENSE /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/integration_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/commands/detect_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/commands/license_path_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/commands/version_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/content_helper_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/hash_helper_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/license_field_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/license_meta_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/license_rules_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/license_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/matchers/cabal_matcher_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/matchers/cargo_matcher_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/matchers/copyright_matcher_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/matchers/cran_matcher_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/matchers/dice_matcher_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/matchers/dist_zilla_matcher_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/matchers/exact_matcher_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/matchers/gemspec_matcher_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/matchers/matcher_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/matchers/npm_bower_matcher_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/matchers/nu_get_matcher_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/matchers/package_matcher_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/matchers/reference_matcher_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/matchers/spdx_matcher_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/project_files/license_file_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/project_files/package_info_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/project_files/project_file_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/project_files/readme_file_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/project_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/projects/git_project_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/projects/github_project_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee/rule_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/licensee_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/spec_helper.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/spec/vendored_license_spec.rb /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_data/fields.yml /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_data/meta.yml /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_data/rules.yml /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/0bsd.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/afl-3.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/agpl-3.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/apache-2.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/artistic-2.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/bsd-2-clause.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/bsd-3-clause.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/bsd-4-clause.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/bsl-1.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/cc-by-4.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/cc0-1.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/cecill-2.1.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/ecl-2.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/epl-1.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/epl-2.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/eupl-1.1.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/eupl-1.2.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/gpl-2.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/gpl-3.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/isc.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/lgpl-2.1.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/lgpl-3.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/lppl-1.3c.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/mit.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/mpl-2.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/ms-pl.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/ms-rl.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/ncsa.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/odbl-1.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/ofl-1.1.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/osl-3.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/postgresql.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/unlicense.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/upl-1.0.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/vim.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/wtfpl.txt /builddir/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0/vendor/choosealicense.com/_licenses/zlib.txt /builddir/build/BUILD/licensee-9.14.0/usr/bin/licensee Successfully installed licensee-9.14.0 Parsing documentation for licensee-9.14.0 Parsing sources... 2% [ 1/38] lib/licensee.rb 5% [ 2/38] lib/licensee/commands/detect.rb 7% [ 3/38] lib/licensee/commands/diff.rb 10% [ 4/38] lib/licensee/commands/license_path.rb 13% [ 5/38] lib/licensee/commands/version.rb 15% [ 6/38] lib/licensee/content_helper.rb 18% [ 7/38] lib/licensee/hash_helper.rb 21% [ 8/38] lib/licensee/license.rb 23% [ 9/38] lib/licensee/license_field.rb 26% [10/38] lib/licensee/license_meta.rb 28% [11/38] lib/licensee/license_rules.rb 31% [12/38] lib/licensee/matchers.rb 34% [13/38] lib/licensee/matchers/cabal.rb 36% [14/38] lib/licensee/matchers/cargo.rb 39% [15/38] lib/licensee/matchers/copyright.rb 42% [16/38] lib/licensee/matchers/cran.rb 44% [17/38] lib/licensee/matchers/dice.rb 47% [18/38] lib/licensee/matchers/dist_zilla.rb 50% [19/38] lib/licensee/matchers/exact.rb 52% [20/38] lib/licensee/matchers/gemspec.rb 55% [21/38] lib/licensee/matchers/matcher.rb 57% [22/38] lib/licensee/matchers/npm_bower.rb 60% [23/38] lib/licensee/matchers/nuget.rb 63% [24/38] lib/licensee/matchers/package.rb 65% [25/38] lib/licensee/matchers/reference.rb 68% [26/38] lib/licensee/matchers/spdx.rb 71% [27/38] lib/licensee/project_files.rb 73% [28/38] lib/licensee/project_files/license_file.rb 76% [29/38] lib/licensee/project_files/package_manager_file.rb 78% [30/38] lib/licensee/project_files/project_file.rb 81% [31/38] lib/licensee/project_files/readme_file.rb 84% [32/38] lib/licensee/projects.rb 86% [33/38] lib/licensee/projects/fs_project.rb 89% [34/38] lib/licensee/projects/git_project.rb 92% [35/38] lib/licensee/projects/github_project.rb 94% [36/38] lib/licensee/projects/project.rb 97% [37/38] lib/licensee/rule.rb 100% [38/38] lib/licensee/version.rb Installing ri documentation for licensee-9.14.0 Installing darkfish documentation for licensee-9.14.0 Done installing documentation for licensee after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kdzylC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-licensee-9.14.0-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-licensee-9.14.0-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-licensee-9.14.0-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-licensee-9.14.0-1.el9.x86_64 + cd licensee-9.14.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-licensee-9.14.0-1.el9.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/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-licensee-9.14.0-1.el9.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-licensee-9.14.0-1.el9.x86_64/usr/bin + cp -a ./usr/bin/licensee /builddir/build/BUILDROOT/rubygem-licensee-9.14.0-1.el9.x86_64/usr/bin/ + find /builddir/build/BUILDROOT/rubygem-licensee-9.14.0-1.el9.x86_64/usr/share/gems/gems/licensee-9.14.0/bin -type f + xargs chmod a+x + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 9.14.0-1.el9 --unique-debug-suffix -9.14.0-1.el9.x86_64 --unique-debug-src-base rubygem-licensee-9.14.0-1.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/licensee-9.14.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/licensee-9.14.0/bin/licensee from /usr/bin/env ruby to #!/usr/bin/ruby Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.YeHVkQ + umask 022 + cd /builddir/build/BUILD + cd licensee-9.14.0 + pushd ./usr/share/gems/gems/licensee-9.14.0 ~/build/BUILD/licensee-9.14.0/usr/share/gems/gems/licensee-9.14.0 ~/build/BUILD/licensee-9.14.0 + rspec -Ilib spec An error occurred while loading ./spec/fixture_spec.rb. Failure/Error: fixtures.each do |fixture| let(:options) { { detect_packages: true, detect_readme: true } } context "the #{fixture} fixture" do subject { Licensee.project(path, **options) } let(:path) { fixture_path(fixture) } let(:other) { Licensee::License.find('other') } let(:none) { Licensee::License.find('none') } let(:expectations) { fixture_licenses[fixture] || {} } NameError: undefined local variable or method `fixtures' for RSpec::ExampleGroups::FixtureTest:Class # ./spec/fixture_spec.rb:4:in `block in ' # ./spec/fixture_spec.rb:3:in `' An error occurred while loading ./spec/integration_spec.rb. Failure/Error: Licensee::Projects::FSProject, NameError: uninitialized constant Licensee # ./spec/integration_spec.rb:5:in `block in ' # ./spec/integration_spec.rb:3:in `' An error occurred while loading ./spec/licensee/commands/detect_spec.rb. Failure/Error: 'Project root' => [project_root], NameError: undefined local variable or method `project_root' for RSpec::ExampleGroups::DetectCommand:Class # ./spec/licensee/commands/detect_spec.rb:37:in `block in ' # ./spec/licensee/commands/detect_spec.rb:3:in `' An error occurred while loading ./spec/licensee/content_helper_spec.rb. Failure/Error: include Licensee::ContentHelper NameError: uninitialized constant ContentHelperTestHelper::Licensee # ./spec/licensee/content_helper_spec.rb:4:in `' # ./spec/licensee/content_helper_spec.rb:3:in `' An error occurred while loading ./spec/licensee/hash_helper_spec.rb. Failure/Error: RSpec.describe Licensee::HashHelper do class HashHelperSpecFixture include Licensee::HashHelper HASH_METHODS = %w[string array rule rules nil_value].freeze def string 'foo' end def array NameError: uninitialized constant Licensee # ./spec/licensee/hash_helper_spec.rb:3:in `' An error occurred while loading ./spec/licensee/license_field_spec.rb. Failure/Error: RSpec.describe Licensee::LicenseField do let(:expected_count) { 7 } context 'class' do it 'returns all license fields' do expect(described_class.all.count).to eql(expected_count) expect(described_class.all.first).to be_a(described_class) end it 'returns all license field keys' do NameError: uninitialized constant Licensee # ./spec/licensee/license_field_spec.rb:3:in `' An error occurred while loading ./spec/licensee/license_meta_spec.rb. Failure/Error: RSpec.describe Licensee::LicenseMeta do subject { Licensee::License.find('mit').meta } meta_fields.each do |field| next if field['name'] == 'redirect_from' context "the #{field['name']} field" do let(:name) { field['name'].tr('-', '_') } let(:method) { name.to_sym } NameError: uninitialized constant Licensee # ./spec/licensee/license_meta_spec.rb:3:in `' An error occurred while loading ./spec/licensee/license_rules_spec.rb. Failure/Error: RSpec.describe Licensee::LicenseRules do subject { mit.rules } let(:mit) { Licensee::License.find('mit') } Licensee::Rule.groups.each do |group| context "the #{group} rule group" do it 'responds as a hash key string' do expect(subject[group]).to be_a(Array) end NameError: uninitialized constant Licensee # ./spec/licensee/license_rules_spec.rb:3:in `' An error occurred while loading ./spec/licensee/license_spec.rb. Failure/Error: RSpec.describe Licensee::License do let(:license_count) { 41 } let(:hidden_license_count) { 28 } let(:featured_license_count) { 3 } let(:pseudo_license_count) { 2 } let(:non_featured_license_count) do license_count - featured_license_count - hidden_license_count end let(:mit) { described_class.find('mit') } NameError: uninitialized constant Licensee # ./spec/licensee/license_spec.rb:3:in `' An error occurred while loading ./spec/licensee/matchers/cabal_matcher_spec.rb. Failure/Error: RSpec.describe Licensee::Matchers::Cabal do subject { described_class.new(file) } let(:content) { 'license: mit' } let(:file) { Licensee::ProjectFiles::LicenseFile.new(content, 'LICENSE.txt') } let(:mit) { Licensee::License.find('mit') } let(:no_license) { Licensee::License.find('no-license') } it 'matches' do expect(subject.match).to eql(mit) NameError: uninitialized constant Licensee # ./spec/licensee/matchers/cabal_matcher_spec.rb:3:in `' An error occurred while loading ./spec/licensee/matchers/cargo_matcher_spec.rb. Failure/Error: RSpec.describe Licensee::Matchers::Cargo do subject { described_class.new(file) } let(:mit) { Licensee::License.find('mit') } let(:content) { 'license = "MIT"' } let(:file) { Licensee::ProjectFiles::LicenseFile.new(content, 'Cargo.toml') } it 'stores the file' do expect(subject.file).to eql(file) end NameError: uninitialized constant Licensee # ./spec/licensee/matchers/cargo_matcher_spec.rb:3:in `' An error occurred while loading ./spec/licensee/matchers/copyright_matcher_spec.rb. Failure/Error: RSpec.describe Licensee::Matchers::Copyright do subject { described_class.new(file) } let(:content) { 'Copyright 2015 Ben Balter'.dup } let(:file) { Licensee::ProjectFiles::LicenseFile.new(content, 'LICENSE.txt') } let(:mit) { Licensee::License.find('mit') } let(:no_license) { Licensee::License.find('no-license') } it 'stores the file' do expect(subject.file).to eql(file) NameError: uninitialized constant Licensee # ./spec/licensee/matchers/copyright_matcher_spec.rb:3:in `' An error occurred while loading ./spec/licensee/matchers/cran_matcher_spec.rb. Failure/Error: RSpec.describe Licensee::Matchers::Cran do subject { described_class.new(file) } let(:mit) { Licensee::License.find('mit') } let(:gpl2) { Licensee::License.find('gpl-2.0') } let(:gpl3) { Licensee::License.find('gpl-3.0') } let(:content) { "License: MIT + file LICENSE\nPackage: test" } let(:file) { Licensee::ProjectFiles::LicenseFile.new(content, 'DESCRIPTION') } it 'stores the file' do NameError: uninitialized constant Licensee # ./spec/licensee/matchers/cran_matcher_spec.rb:3:in `' An error occurred while loading ./spec/licensee/matchers/dice_matcher_spec.rb. Failure/Error: RSpec.describe Licensee::Matchers::Dice do subject { described_class.new(file) } let(:mit) { Licensee::License.find('mit') } let(:gpl) { Licensee::License.find('gpl-3.0') } let(:agpl) { Licensee::License.find('agpl-3.0') } let(:lgpl) { Licensee::License.find('lgpl-2.1') } let(:cc_by) { Licensee::License.find('cc-by-4.0') } let(:cc_by_sa) { Licensee::License.find('cc-by-sa-4.0') } let(:content) { sub_copyright_info(gpl) } NameError: uninitialized constant Licensee # ./spec/licensee/matchers/dice_matcher_spec.rb:3:in `' An error occurred while loading ./spec/licensee/matchers/dist_zilla_matcher_spec.rb. Failure/Error: RSpec.describe Licensee::Matchers::DistZilla do subject { described_class.new(file) } let(:mit) { Licensee::License.find('mit') } let(:content) { 'license = MIT' } let(:file) { Licensee::ProjectFiles::LicenseFile.new(content, 'dist.ini') } it 'stores the file' do expect(subject.file).to eql(file) end NameError: uninitialized constant Licensee # ./spec/licensee/matchers/dist_zilla_matcher_spec.rb:3:in `' An error occurred while loading ./spec/licensee/matchers/exact_matcher_spec.rb. Failure/Error: RSpec.describe Licensee::Matchers::Exact do subject { described_class.new(file) } let(:mit) { Licensee::License.find('mit') } let(:content) { sub_copyright_info(mit) } let(:file) { Licensee::ProjectFiles::LicenseFile.new(content, 'LICENSE.txt') } it 'stores the file' do expect(subject.file).to eql(file) end NameError: uninitialized constant Licensee # ./spec/licensee/matchers/exact_matcher_spec.rb:3:in `' An error occurred while loading ./spec/licensee/matchers/gemspec_matcher_spec.rb. Failure/Error: RSpec.describe Licensee::Matchers::Gemspec do subject { described_class.new(file) } let(:mit) { Licensee::License.find('mit') } let(:content) { "s.license = 'mit'" } let(:file) do Licensee::ProjectFiles::LicenseFile.new(content, 'project.gemspec') end it 'matches' do NameError: uninitialized constant Licensee # ./spec/licensee/matchers/gemspec_matcher_spec.rb:3:in `' An error occurred while loading ./spec/licensee/matchers/matcher_spec.rb. Failure/Error: RSpec.describe Licensee::Matchers::Matcher do subject { described_class.new(file) } let(:mit) { Licensee::License.find('mit') } let(:content) { sub_copyright_info(mit) } let(:file) { Licensee::ProjectFiles::LicenseFile.new(content, 'LICENSE.txt') } it 'stores the file' do expect(subject.file).to eql(file) end NameError: uninitialized constant Licensee # ./spec/licensee/matchers/matcher_spec.rb:3:in `' An error occurred while loading ./spec/licensee/matchers/npm_bower_matcher_spec.rb. Failure/Error: RSpec.describe Licensee::Matchers::NpmBower do subject { described_class.new(file) } let(:content) { '"license": "mit"' } let(:file) { Licensee::ProjectFiles::LicenseFile.new(content, 'LICENSE.txt') } let(:mit) { Licensee::License.find('mit') } let(:other) { Licensee::License.find('other') } it 'matches' do expect(subject.match).to eql(mit) NameError: uninitialized constant Licensee # ./spec/licensee/matchers/npm_bower_matcher_spec.rb:3:in `' An error occurred while loading ./spec/licensee/matchers/nu_get_matcher_spec.rb. Failure/Error: RSpec.describe Licensee::Matchers::NuGet do subject { described_class.new(file) } let(:content) { 'mit' } let(:file) { Licensee::ProjectFiles::LicenseFile.new(content, 'foo.nuspec') } let(:mit) { Licensee::License.find('mit') } let(:apache2) { Licensee::License.find('apache-2.0') } let(:other) { Licensee::License.find('other') } it 'matches' do NameError: uninitialized constant Licensee # ./spec/licensee/matchers/nu_get_matcher_spec.rb:3:in `' An error occurred while loading ./spec/licensee/matchers/package_matcher_spec.rb. Failure/Error: RSpec.describe Licensee::Matchers::Package do subject { described_class.new(file) } let(:mit) { Licensee::License.find('mit') } let(:content) { '' } let(:file) do Licensee::ProjectFiles::LicenseFile.new(content, 'project.gemspec') end let(:license_property) { 'mit' } NameError: uninitialized constant Licensee # ./spec/licensee/matchers/package_matcher_spec.rb:3:in `' An error occurred while loading ./spec/licensee/matchers/reference_matcher_spec.rb. Failure/Error: RSpec.describe Licensee::Matchers::Reference do subject { described_class.new(file) } let(:content) { 'Copyright 2015 Ben Balter' } let(:file) { Licensee::ProjectFiles::LicenseFile.new(content, 'LICENSE.txt') } let(:license) { Licensee::License.find('gpl-3.0') } %i[title key nickname].each do |variation| context "with a license #{variation}" do let(:content) { "Licensed under the #{license.send(variation)} license" } NameError: uninitialized constant Licensee # ./spec/licensee/matchers/reference_matcher_spec.rb:3:in `' An error occurred while loading ./spec/licensee/matchers/spdx_matcher_spec.rb. Failure/Error: RSpec.describe Licensee::Matchers::Spdx do subject { described_class.new(file) } let(:content) { 'PackageLicenseDeclared: MIT' } let(:file) do Licensee::ProjectFiles::LicenseFile.new(content, 'LICENSE.spdx') end let(:mit) { Licensee::License.find('mit') } let(:other) { Licensee::License.find('other') } NameError: uninitialized constant Licensee # ./spec/licensee/matchers/spdx_matcher_spec.rb:3:in `' An error occurred while loading ./spec/licensee/project_files/license_file_spec.rb. Failure/Error: RSpec.describe Licensee::ProjectFiles::LicenseFile do subject { described_class.new(content, filename) } let(:filename) { 'LICENSE.txt' } let(:gpl) { Licensee::License.find('gpl-3.0') } let(:mit) { Licensee::License.find('mit') } let(:content) { sub_copyright_info(mit) } let(:content_hash) { license_hashes['mit'] } it 'parses the attribution' do NameError: uninitialized constant Licensee # ./spec/licensee/project_files/license_file_spec.rb:3:in `' An error occurred while loading ./spec/licensee/project_files/package_info_spec.rb. Failure/Error: RSpec.describe Licensee::ProjectFiles::PackageManagerFile do subject { described_class.new(content, filename) } let(:content) { '' } let(:filename) { '' } context 'name scoring' do { 'licensee.gemspec' => 1.0, 'test.cabal' => 1.0, NameError: uninitialized constant Licensee # ./spec/licensee/project_files/package_info_spec.rb:3:in `' An error occurred while loading ./spec/licensee/project_files/project_file_spec.rb. Failure/Error: RSpec.describe Licensee::ProjectFiles::ProjectFile do subject { Licensee::ProjectFiles::LicenseFile.new(content, filename) } let(:filename) { 'LICENSE.txt' } let(:mit) { Licensee::License.find('mit') } let(:content) { mit.content } let(:possible_matchers) { [Licensee::Matchers::Exact] } before do allow(subject).to receive(:possible_matchers).and_return(possible_matchers) NameError: uninitialized constant Licensee # ./spec/licensee/project_files/project_file_spec.rb:3:in `' An error occurred while loading ./spec/licensee/project_files/readme_file_spec.rb. Failure/Error: RSpec.describe Licensee::ProjectFiles::ReadmeFile do subject { described_class.new(content, filename) } let(:filename) { 'README.md' } let(:content) { '' } context 'scoring names' do { 'readme' => 1.0, 'README' => 1.0, NameError: uninitialized constant Licensee # ./spec/licensee/project_files/readme_file_spec.rb:3:in `' An error occurred while loading ./spec/licensee/project_spec.rb. Failure/Error: Licensee::Projects::FSProject, NameError: uninitialized constant Licensee # ./spec/licensee/project_spec.rb:4:in `' An error occurred while loading ./spec/licensee/projects/git_project_spec.rb. Failure/Error: RSpec.describe Licensee::Projects::GitProject do let(:fixture) { 'mit' } context 'new git repo handled as file system project' do let(:path) { fixture_path(fixture) } before do Dir.chdir path do `git init` end NameError: uninitialized constant Licensee # ./spec/licensee/projects/git_project_spec.rb:3:in `' An error occurred while loading ./spec/licensee/projects/github_project_spec.rb. Failure/Error: RSpec.describe Licensee::Projects::GitHubProject do subject(:instance) { described_class.new(github_url) } let(:repo) { 'benbalter/licensee' } let(:github_url) { "https://github.com/#{repo}" } let(:mit) { Licensee::License.find('mit') } let(:readme_file) { File.read(fixture_path('mit/README.md')) } let(:license_file) { File.read(fixture_path('mit/LICENSE.txt')) } describe '#initialize' do NameError: uninitialized constant Licensee # ./spec/licensee/projects/github_project_spec.rb:3:in `' An error occurred while loading ./spec/licensee/rule_spec.rb. Failure/Error: RSpec.describe Licensee::Rule do subject do described_class.new( description: 'description', tag: 'tag', label: 'label', group: 'group' ) end NameError: uninitialized constant Licensee # ./spec/licensee/rule_spec.rb:3:in `' An error occurred while loading ./spec/licensee_spec.rb. Failure/Error: RSpec.describe Licensee do let(:project_path) { fixture_path('mit') } let(:license_path) { fixture_path('mit/LICENSE.txt') } let(:mit_license) { Licensee::License.find('mit') } let(:hidden_license_count) { 41 } it 'exposes licenses' do expect(described_class.licenses).to be_an(Array) hidden_licenses = described_class.licenses(hidden: true).count expect(hidden_licenses).to eql(hidden_license_count) NameError: uninitialized constant Licensee # ./spec/licensee_spec.rb:3:in `' An error occurred while loading ./spec/vendored_license_spec.rb. Failure/Error: Licensee.licenses(hidden: true).each do |license| next if license.pseudo_license? context "the #{license.name} license" do let(:content_with_copyright) { sub_copyright_info(license) } let(:content) { content_with_copyright } let(:expected_hash) { license_hashes[license.key] } let(:hash_change_msg) do msg = 'Did you update a vendored license? Run '.dup msg << '`bundle exec script/hash-licenses`. ' NameError: uninitialized constant Licensee # ./spec/vendored_license_spec.rb:11:in `block in ' # ./spec/vendored_license_spec.rb:3:in `' Finished in 0.00004 seconds (files took 1.01 seconds to load) 0 examples, 0 failures, 33 errors occurred outside of examples ~/build/BUILD/licensee-9.14.0 + : + popd + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-licensee-9.14.0-1.el9.noarch Provides: rubygem(licensee) = 9.14.0 rubygem-licensee = 9.14.0-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(dotenv) >= 2.0 with rubygem(dotenv) < 3) (rubygem(octokit) >= 4.17 with rubygem(octokit) < 5) (rubygem(thor) >= 0.19 with rubygem(thor) < 2.0) /usr/bin/ruby ruby(rubygems) rubygem(reverse_markdown) rubygem(rugged) Processing files: rubygem-licensee-doc-9.14.0-1.el9.noarch Provides: rubygem-licensee-doc = 9.14.0-1.el9 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-licensee-9.14.0-1.el9.x86_64 Wrote: /builddir/build/RPMS/rubygem-licensee-9.14.0-1.el9.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-licensee-doc-9.14.0-1.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yyofop + umask 022 + cd /builddir/build/BUILD + cd licensee-9.14.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-licensee-9.14.0-1.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0