Remove previous workaround for rpm side change

This commit is contained in:
Mamoru TASAKA 2022-04-30 11:26:19 +09:00
parent 29ba658366
commit 53d05d007e

View File

@ -3,7 +3,7 @@
Name: rubygem-%{gem_name}
Version: 2.4.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Fast, pure-Ruby Markdown-superset converter
License: MIT
@ -47,12 +47,7 @@ Documentation for %{name}
%prep
%setup -q -n %{gem_name}-%{version}
%if 0%{?fedora} >= 37 || 0%{?rhel} >= 9
GEMSPECPATH=%{_sourcedir}
%else
GEMSPECPATH=%{_builddir}
%endif
mv $GEMSPECPATH/%{gem_name}-%{version}.gemspec .
mv ../%{gem_name}-%{version}.gemspec .
%build
gem build %{gem_name}-%{version}.gemspec
@ -111,6 +106,9 @@ popd
%doc %{gem_docdir}
%changelog
* Sat Apr 30 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.4.0-3
- Remove previous workaround for rpm side change
* Tue Apr 26 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.4.0-2
- 2.4.0