Use recent packaging style

This commit is contained in:
Mamoru TASAKA 2021-02-16 21:44:22 +09:00
parent eaab3a571b
commit 3c0d31911d

View File

@ -3,7 +3,7 @@
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 2.3.0 Version: 2.3.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Fast, pure-Ruby Markdown-superset converter Summary: Fast, pure-Ruby Markdown-superset converter
License: MIT License: MIT
@ -48,13 +48,12 @@ BuildArch: noarch
Documentation for %{name} Documentation for %{name}
%prep %prep
gem unpack %{SOURCE0} %setup -q -n %{gem_name}-%{version}
%setup -q -D -T -n %{gem_name}-%{version}
%patch2 -p1 %patch2 -p1
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec mv ../%{gem_name}-%{version}.gemspec .
%build %build
gem build %{gem_name}.gemspec gem build %{gem_name}-%{version}.gemspec
%gem_install %gem_install
%install %install
@ -110,6 +109,9 @@ popd
%doc %{gem_docdir} %doc %{gem_docdir}
%changelog %changelog
* Tue Feb 16 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.3.0-2
- Use recent packaging style
* Mon Feb 1 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.3.0-1 * Mon Feb 1 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.3.0-1
- 2.3.0 - 2.3.0
- Speficy rouge version dependency for test suite - Speficy rouge version dependency for test suite