# Generated from safety_goggles-2.2.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name safety_goggles Name: rubygem-%{gem_name} Version: 2.2.1 Release: 1%{?dist} Summary: Rails error handler License: MIT URL: https://github.com/IBM/safety-goggles Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(actionpack) >= 5.2 # BuildRequires: rubygem(actionpack) < 6 # BuildRequires: rubygem(actionview) >= 5.2 # BuildRequires: rubygem(actionview) < 6 # BuildRequires: rubygem(actionview) >= 5.2.2.1 # BuildRequires: rubygem(activemodel) >= 5.2 # BuildRequires: rubygem(activemodel) < 6 # BuildRequires: rubygem(activerecord) >= 5.2 # BuildRequires: rubygem(activerecord) < 6 # BuildRequires: rubygem(bundler-audit) >= 0.6 # BuildRequires: rubygem(bundler-audit) < 1 # BuildRequires: rubygem(loofah) >= 2.2 # BuildRequires: rubygem(loofah) < 3 # BuildRequires: rubygem(loofah) >= 2.2.3 # BuildRequires: rubygem(net-ldap) >= 0.16 # BuildRequires: rubygem(net-ldap) < 1 # BuildRequires: rubygem(nokogiri) >= 1.10 # BuildRequires: rubygem(nokogiri) < 2 # BuildRequires: rubygem(nokogiri) >= 1.10.4 # BuildRequires: rubygem(rack) >= 2.0 # BuildRequires: rubygem(rack) < 3 # BuildRequires: rubygem(rack) >= 2.0.6 # BuildRequires: rubygem(rails-html-sanitizer) >= 1.0 # BuildRequires: rubygem(rails-html-sanitizer) < 2 # BuildRequires: rubygem(rails-html-sanitizer) >= 1.0.4 # BuildRequires: rubygem(rspec) >= 3.4 # BuildRequires: rubygem(rspec) < 4 # BuildRequires: rubygem(simplecov) >= 0.11 # BuildRequires: rubygem(simplecov) < 1 # BuildRequires: rubygem(simplecov) >= 0.11.1 # BuildRequires: rubygem(travis) >= 1.8 # BuildRequires: rubygem(travis) < 2 # BuildRequires: rubygem(rubocop) >= 0.49 # BuildRequires: rubygem(rubocop) < 1 # BuildRequires: rubygem(rubocop-gitlab-security) >= 0.1 # BuildRequires: rubygem(rubocop-gitlab-security) < 1 # BuildRequires: rubygem(rubocop-performance) >= 1.5 # BuildRequires: rubygem(rubocop-performance) < 2 # BuildRequires: rubygem(rubocop-rails) >= 2.3 # BuildRequires: rubygem(rubocop-rails) < 3 BuildArch: noarch %description Rails error handler that integrates with Sentry and generates 4xx error responses. %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} # rspec spec popd %files %dir %{gem_instdir} %{gem_instdir}/.circleci %{gem_instdir}/.editorconfig %{gem_instdir}/.github %exclude %{gem_instdir}/.gitignore %{gem_instdir}/.pre-commit-config.yaml %exclude %{gem_instdir}/.rubocop.yml %{gem_instdir}/.secrets.baseline %exclude %{gem_instdir}/.travis.yml %license %{gem_instdir}/LICENSE %{gem_libdir} %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}/safety_goggles.gemspec %{gem_instdir}/spec %changelog * Wed Sep 15 2021 mockbuilder - 2.2.1-1 - Initial package