This commit is contained in:
Mamoru TASAKA 2022-04-26 22:28:22 +09:00
parent f60bc06e17
commit 404d509e99
2 changed files with 10 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
/krandown-*.gem /krandown-*.gem
/kramdown-2.3.2.gem

View File

@ -2,7 +2,7 @@
%global gem_name kramdown %global gem_name kramdown
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 2.3.2 Version: 2.4.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: Fast, pure-Ruby Markdown-superset converter Summary: Fast, pure-Ruby Markdown-superset converter
@ -47,7 +47,12 @@ Documentation for %{name}
%prep %prep
%setup -q -n %{gem_name}-%{version} %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 %build
gem build %{gem_name}-%{version}.gemspec gem build %{gem_name}-%{version}.gemspec
@ -106,6 +111,9 @@ popd
%doc %{gem_docdir} %doc %{gem_docdir}
%changelog %changelog
* Tue Apr 26 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.4.0-1
- 2.4.0
* Sun Mar 20 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.3.2-1 * Sun Mar 20 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.3.2-1
- 2.3.2 - 2.3.2