# Generated from marlowe-2.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name marlowe Name: rubygem-%{gem_name} Version: 2.1 Release: 1%{?dist} Summary: {Marlowe}[https://github.com/KineticCafe/marlowe] is a Rack middleware that extracts or creates a request ID using a pre-defined header, permitting request correlation across multiple services License: MIT URL: https://github.com/KineticCafe/marlowe/ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.0 BuildRequires: ruby < 4 # BuildRequires: rubygem(minitest) >= 5.14 # BuildRequires: rubygem(minitest) < 6 # BuildRequires: rubygem(appraisal) >= 2.1 # BuildRequires: rubygem(appraisal) < 3 # BuildRequires: rubygem(hoe-doofus) >= 1.0 # BuildRequires: rubygem(hoe-doofus) < 2 # BuildRequires: rubygem(hoe-gemspec2) >= 1.1 # BuildRequires: rubygem(hoe-gemspec2) < 2 # BuildRequires: rubygem(hoe-git) >= 1.6 # BuildRequires: rubygem(hoe-git) < 2 # BuildRequires: rubygem(hoe-rubygems) >= 1.0 # BuildRequires: rubygem(hoe-rubygems) < 2 # BuildRequires: rubygem(minitest-autotest) >= 1.0 # BuildRequires: rubygem(minitest-autotest) < 2 # BuildRequires: rubygem(minitest-bonus-assertions) >= 3.0 # BuildRequires: rubygem(minitest-bonus-assertions) < 4 # BuildRequires: rubygem(minitest-focus) >= 1.1 # BuildRequires: rubygem(minitest-focus) < 2 # BuildRequires: rubygem(minitest-moar) # BuildRequires: rubygem(minitest-moar) < 1 # BuildRequires: rubygem(rack-test) >= 1.0 # BuildRequires: rubygem(rack-test) < 2 # BuildRequires: rubygem(standard) >= 1.0 # BuildRequires: rubygem(standard) < 2 # BuildRequires: rubygem(simplecov) >= 0.21 # BuildRequires: rubygem(simplecov) < 1 # BuildRequires: rubygem(psych) >= 3.1 # BuildRequires: rubygem(psych) < 4 # BuildRequires: rubygem(hoe) >= 3.23 # BuildRequires: rubygem(hoe) < 4 BuildArch: noarch %description {Marlowe}[https://github.com/KineticCafe/marlowe] is a Rack middleware that extracts or creates a request ID using a pre-defined header, permitting request correlation across multiple services. When using Rails, Marlowe automatically adds itself to the middleware before Rails::Rack::Logger. %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} # ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' popd %files %dir %{gem_instdir} %license %{gem_instdir}/Licence.md %{gem_instdir}/Manifest.txt %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/Contributing.md %doc %{gem_instdir}/History.md %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Rakefile %{gem_instdir}/test %changelog * Tue Sep 14 2021 mockbuilder - 2.1-1 - Initial package