Remove explicit rexml runtime dependency (bug 1838185)

This commit is contained in:
Mamoru TASAKA 2020-05-21 23:06:14 +09:00
parent 12f5a08363
commit 912a1f3bec

View File

@ -3,7 +3,7 @@
Name: rubygem-%{gem_name}
Version: 2.2.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Fast, pure-Ruby Markdown-superset converter
License: MIT
@ -14,8 +14,6 @@ BuildRequires: rubygems-devel
BuildRequires: rubygem(minitest) >= 5
BuildRequires: rubygem(rouge)
BuildRequires: rubygem(test-unit)
# FIXME
# Add the below when available
BuildRequires: rubygem(stringex)
# Recommends: rubygem(stringex)
# Some additional dependency for check
@ -50,6 +48,10 @@ Documentation for %{name}
gem unpack %{SOURCE0}
%setup -q -D -T -n %{gem_name}-%{version}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
# 2.2.1 explicily adds rexml runtime dependency, which is actually provided by system ruby.
# So writing it to kramdown gemspec is not strictly needed, removing for now
# (bug 1838185)
sed -i %{gem_name}.gemspec -e '\@rexml@d'
%build
gem build %{gem_name}.gemspec
@ -106,6 +108,9 @@ popd
%doc %{gem_docdir}
%changelog
* Thu May 21 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.2.1-2
- Remove explicit rexml runtime dependency (bug 1838185)
* Fri May 8 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.2.1-1
- 2.2.1