# Generated from mutator_rails-0.1.17.gem by gem2rpm -*- rpm-spec -*- %global gem_name mutator_rails Name: rubygem-%{gem_name} Version: 0.1.17 Release: 1%{?dist} Summary: Integrate automated mutation testing into Rails License: MIT URL: https://github.com/hintmedia/mutator_rails Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel >= 1.3.6 BuildRequires: ruby >= 2.3 # BuildRequires: rubygem(actionview) >= 5.1.6.2 # BuildRequires: rubygem(rails) >= 4.0 # BuildRequires: rubygem(rspec-core) >= 3.6.0 # BuildRequires: rubygem(rspec-core) < 3.7 # BuildRequires: rubygem(rspec-expectations) >= 3.6.0 # BuildRequires: rubygem(rspec-expectations) < 3.7 # BuildRequires: rubygem(rspec_junit_formatter) # BuildRequires: rubygem(codeclimate-test-reporter) # BuildRequires: rubygem(rspec-collection_matchers) # BuildRequires: rubygem(rspec-mocks) >= 3.6.0 # BuildRequires: rubygem(rspec-mocks) < 3.7 # BuildRequires: rubygem(mutant) >= 0.8.14 # BuildRequires: rubygem(mutant) < 0.9 # BuildRequires: rubygem(mutant-rspec) >= 0.8.14 # BuildRequires: rubygem(mutant-rspec) < 0.9 # BuildRequires: rubygem(concord) >= 0.1.4 # BuildRequires: rubygem(concord) < 0.2 # BuildRequires: rubygem(procto) >= 0.0.3 # BuildRequires: rubygem(procto) < 0.1 # BuildRequires: rubygem(adamantium) >= 0.2.0 # BuildRequires: rubygem(adamantium) < 0.3 # BuildRequires: rubygem(reek) >= 4.7.2 # BuildRequires: rubygem(reek) < 4.8 # BuildRequires: rubygem(nokogiri) >= 1.10.4 # BuildRequires: rubygem(loofah) >= 2.3.1 BuildArch: noarch %description Automate mutation testing to find weaknesses in code. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %build # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} # Run the test suite. popd %files %dir %{gem_instdir} %{gem_instdir}/.circleci %{gem_instdir}/.codeclimate.yml %exclude %{gem_instdir}/.gitignore %{gem_instdir}/.ruby-version %{gem_instdir}/CODE_OF_CONDUCT.md %license %{gem_instdir}/LICENSE.md %{gem_instdir}/app %{gem_instdir}/bin %{gem_instdir}/config %{gem_instdir}/defaults.reek %{gem_libdir} %{gem_instdir}/log %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/.rspec %doc %{gem_instdir}/CHANGELOG.md %{gem_instdir}/Gemfile %{gem_instdir}/Gemfile.lock %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/mutator_rails.gemspec %{gem_instdir}/spec %changelog * Tue Aug 24 2021 mockbuilder - 0.1.17-1 - Initial package