From 671be7592bbb5a23f9caed8c579eea068d1dec79 Mon Sep 17 00:00:00 2001 From: wk333 <13474090681@163.com> Date: Thu, 24 Jul 2025 09:27:11 +0800 Subject: [PATCH] Switch rspec2 to rspec for test (cherry picked from commit f573d37f8dc9aeb919b1c413aee50b2c71c2e0a2) --- rubygem-RedCloth.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/rubygem-RedCloth.spec b/rubygem-RedCloth.spec index 2df3cea..c045c6c 100644 --- a/rubygem-RedCloth.spec +++ b/rubygem-RedCloth.spec @@ -1,14 +1,14 @@ %global gem_name RedCloth Name: rubygem-%{gem_name} Version: 4.3.2 -Release: 1 +Release: 2 Summary: Textile parser for Ruby License: MIT URL: http://redcloth.org Source0: https://rubygems.org/gems/RedCloth-%{version}.gem Patch0: rubygem-redcloth-4.2.9-unsigned-char-fix.patch Patch1: rubygem-RedCloth-4.3.2-Replace-deprecated-YAML-load_documents.patch -BuildRequires: ruby(release) rubygems-devel rubygem(rspec) < 3 ruby-devel gcc +BuildRequires: ruby(release) rubygems-devel rubygem(rspec) ruby-devel gcc %description Textile parser for Ruby. @@ -48,7 +48,7 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x %check pushd .%{gem_instdir} -rspec2 -I$(dirs +1)%{gem_extdir_mri} spec +rspec -I$(dirs +1)%{gem_extdir_mri} spec popd %files @@ -74,5 +74,8 @@ popd %{gem_instdir}/tasks %changelog +* Thu Jul 24 2025 wangkai <13474090681@163.com> - 4.3.2-2 +- Switch rspec2 to rspec for test + * Wed Aug 12 2020 yanan li - 4.3.2-1 - Package init -- Gitee