From 2c950aac9a495736e25c9d6b6129f02892c39476 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sun, 25 Dec 2022 16:28:44 +0900 Subject: [PATCH] Use %gem_extdir_mri instead of ext for %check due to ruby3.2 change for ext cleanup during build --- rubygem-rdiscount.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rubygem-rdiscount.spec b/rubygem-rdiscount.spec index 79274dc..9d1f198 100644 --- a/rubygem-rdiscount.spec +++ b/rubygem-rdiscount.spec @@ -3,7 +3,7 @@ Summary: Converts documents in Markdown syntax to HTML Name: rubygem-%{gem_name} Version: 2.2.0.2 -Release: 7%{?dist} +Release: 8%{?dist} License: ASL 1.1 URL: http://github.com/rtomayko/rdiscount Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -84,7 +84,7 @@ mv .%{_bindir}/* %{buildroot}/%{_bindir} %check pushd .%{gem_instdir} # Once -ruby -Ilib:ext:. \ +ruby -Ilib:%{buildroot}%{gem_extdir_mri}:. \ -e 'gem "test-unit" ; Dir.glob("test/*_test.rb").sort.each {|f| require f}' popd @@ -114,6 +114,10 @@ popd %changelog +* Sun Dec 25 2022 Mamoru TASAKA - 2.2.0.2-8 +- Use %%gem_extdir_mri instead of ext for %%check due to ruby3.2 change + for ext cleanup during build + * Sat Jul 23 2022 Fedora Release Engineering - 2.2.0.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild