From 404d509e99022d2844056fdc62f41fdfebedc432 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 26 Apr 2022 22:28:22 +0900 Subject: [PATCH] 2.4.0 --- .gitignore | 1 - rubygem-kramdown.spec | 12 ++++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9b16bc3..b4b4af2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ /krandown-*.gem -/kramdown-2.3.2.gem diff --git a/rubygem-kramdown.spec b/rubygem-kramdown.spec index 6ed0630..d1d3499 100644 --- a/rubygem-kramdown.spec +++ b/rubygem-kramdown.spec @@ -2,7 +2,7 @@ %global gem_name kramdown Name: rubygem-%{gem_name} -Version: 2.3.2 +Version: 2.4.0 Release: 1%{?dist} Summary: Fast, pure-Ruby Markdown-superset converter @@ -47,7 +47,12 @@ Documentation for %{name} %prep %setup -q -n %{gem_name}-%{version} -mv ../%{gem_name}-%{version}.gemspec . +%if 0%{?fedora} >= 37 +GEMSPECPATH=%{_sourcedir} +%else +GEMSPECPATH=%{_builddir} +%endif +mv $GEMSPECPATH/%{gem_name}-%{version}.gemspec . %build gem build %{gem_name}-%{version}.gemspec @@ -106,6 +111,9 @@ popd %doc %{gem_docdir} %changelog +* Tue Apr 26 2022 Mamoru TASAKA - 2.4.0-1 +- 2.4.0 + * Sun Mar 20 2022 Mamoru TASAKA - 2.3.2-1 - 2.3.2