1.4.1
This commit is contained in:
parent
7fc2c620ee
commit
3206584503
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
/kramdown-1.3.2.gem
|
||||
/kramdown-1.3.3.gem
|
||||
/kramdown-1.4.0.gem
|
||||
/kramdown-1.4.1.gem
|
||||
|
@ -1,8 +1,13 @@
|
||||
# Generated from kramdown-1.2.0.gem by gem2rpm -*- rpm-spec -*-
|
||||
%global gem_name kramdown
|
||||
%if 0%{?fedora} >= 21
|
||||
%define gem_minitest rubygem(minitest4)
|
||||
%else
|
||||
%define gem_minitest rubygem(minitest)
|
||||
%endif
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 1.4.0
|
||||
Version: 1.4.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Fast, pure-Ruby Markdown-superset converter
|
||||
|
||||
@ -11,7 +16,7 @@ URL: http://kramdown.rubyforge.org
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: rubygem(minitest)
|
||||
BuildRequires: %gem_minitest
|
||||
Requires: ruby(release)
|
||||
Requires: ruby(rubygems)
|
||||
BuildArch: noarch
|
||||
@ -66,6 +71,13 @@ rm -rf \
|
||||
LANG=en_US.utf8
|
||||
|
||||
pushd .%{gem_instdir}
|
||||
|
||||
%if 0%{?fedora} >= 21
|
||||
sed -i.minitest \
|
||||
-e "\@require 'kramdown'@i gem 'minitest', '~> 4'" \
|
||||
test/run_tests.rb
|
||||
%endif
|
||||
|
||||
# Some tests seem to be failing, need investigating
|
||||
ruby -Ilib:test:. --verbose test/run_tests.rb 2>&1 | tee test-result.log
|
||||
cat test-result.log | grep FAILED && echo "Please investigate this" || true
|
||||
@ -90,6 +102,9 @@ popd
|
||||
%doc %{gem_instdir}/doc/
|
||||
|
||||
%changelog
|
||||
* Wed Aug 13 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.4.1-1
|
||||
- 1.4.1
|
||||
|
||||
* Fri Jun 27 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.4.0-1
|
||||
- 1.4.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user