# Generated from rspec-steps-2.1.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name rspec-steps Name: rubygem-%{gem_name} Version: 2.1.1 Release: 1%{?dist} Summary: I want steps in RSpec License: MIT URL: https://github.com/LRDesign/rspec-steps Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(corundum) >= 0.4.0 # BuildRequires: rubygem(metric_fu) >= 4.11.1 # BuildRequires: rubygem(metric_fu) < 4.12 BuildArch: noarch %description A minimal implementation of integration testing within RSpec. Allows you to build sequential specs, each with a description, but where state is maintained between tests and before/after actions are only triggered at the beginning and end of the entire sequence. Cool things you can do with this: * Build multi-step user stories in plain RSpec syntax. Locate the point of failure quickly, and break up large integrations into sensible steps * Speed up groups of related tests by running your factories only once before the whole group. . %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_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/doc %{gem_instdir}/spec %{gem_instdir}/spec_help %changelog * Wed Apr 20 2022 mockbuilder - 2.1.1-1 - Initial package