Remove explicit rexml runtime dependency (bug 1838185)
This commit is contained in:
parent
12f5a08363
commit
912a1f3bec
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 2.2.1
|
Version: 2.2.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Fast, pure-Ruby Markdown-superset converter
|
Summary: Fast, pure-Ruby Markdown-superset converter
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -14,8 +14,6 @@ BuildRequires: rubygems-devel
|
|||||||
BuildRequires: rubygem(minitest) >= 5
|
BuildRequires: rubygem(minitest) >= 5
|
||||||
BuildRequires: rubygem(rouge)
|
BuildRequires: rubygem(rouge)
|
||||||
BuildRequires: rubygem(test-unit)
|
BuildRequires: rubygem(test-unit)
|
||||||
# FIXME
|
|
||||||
# Add the below when available
|
|
||||||
BuildRequires: rubygem(stringex)
|
BuildRequires: rubygem(stringex)
|
||||||
# Recommends: rubygem(stringex)
|
# Recommends: rubygem(stringex)
|
||||||
# Some additional dependency for check
|
# Some additional dependency for check
|
||||||
@ -50,6 +48,10 @@ Documentation for %{name}
|
|||||||
gem unpack %{SOURCE0}
|
gem unpack %{SOURCE0}
|
||||||
%setup -q -D -T -n %{gem_name}-%{version}
|
%setup -q -D -T -n %{gem_name}-%{version}
|
||||||
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
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
|
%build
|
||||||
gem build %{gem_name}.gemspec
|
gem build %{gem_name}.gemspec
|
||||||
@ -106,6 +108,9 @@ popd
|
|||||||
%doc %{gem_docdir}
|
%doc %{gem_docdir}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri May 8 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.2.1-1
|
||||||
- 2.2.1
|
- 2.2.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user