From 4f977fcdc636021727d6bbd0618e69f2741629a2 Mon Sep 17 00:00:00 2001 From: Pavel Valena Date: Thu, 7 Jan 2021 02:08:16 +0100 Subject: [PATCH] Fix for Ruby 3.0 also enhance .gitignore file. --- .gitignore | 2 +- rubygem-rack.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7d92325..d329804 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ /rack-*.gem -/rack-2.2.3-tests.tar.gz +/rack-*-tests.tar.gz diff --git a/rubygem-rack.spec b/rubygem-rack.spec index b35809a..c003179 100644 --- a/rubygem-rack.spec +++ b/rubygem-rack.spec @@ -20,6 +20,7 @@ BuildRequires: rubygem(concurrent-ruby) BuildRequires: memcached BuildRequires: rubygem(memcache-client) BuildRequires: rubygem(minitest) +BuildRequires: rubygem(webrick) BuildArch: noarch %global __brp_mangle_shebangs_exclude_from ^%{gem_instdir}/test/cgi/test.ru$ @@ -56,7 +57,6 @@ mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ - mkdir -p %{buildroot}%{_bindir} cp -a .%{_bindir}/* \ %{buildroot}%{_bindir}/