From 3c0d31911dc4cad7a0ca79a95e28d07b24fab8d6 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 16 Feb 2021 21:44:22 +0900 Subject: [PATCH] Use recent packaging style --- rubygem-kramdown.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/rubygem-kramdown.spec b/rubygem-kramdown.spec index 7ef35b7..7e55a08 100644 --- a/rubygem-kramdown.spec +++ b/rubygem-kramdown.spec @@ -3,7 +3,7 @@ Name: rubygem-%{gem_name} Version: 2.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Fast, pure-Ruby Markdown-superset converter License: MIT @@ -48,13 +48,12 @@ BuildArch: noarch Documentation for %{name} %prep -gem unpack %{SOURCE0} -%setup -q -D -T -n %{gem_name}-%{version} +%setup -q -n %{gem_name}-%{version} %patch2 -p1 -gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec +mv ../%{gem_name}-%{version}.gemspec . %build -gem build %{gem_name}.gemspec +gem build %{gem_name}-%{version}.gemspec %gem_install %install @@ -110,6 +109,9 @@ popd %doc %{gem_docdir} %changelog +* Tue Feb 16 2021 Mamoru TASAKA - 2.3.0-2 +- Use recent packaging style + * Mon Feb 1 2021 Mamoru TASAKA - 2.3.0-1 - 2.3.0 - Speficy rouge version dependency for test suite