summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVít Ondruch <vondruch@redhat.com>2017-12-14 18:08:23 +0100
committerVít Ondruch <vondruch@redhat.com>2017-12-14 18:08:23 +0100
commitbdb0c87d20a866c372825870d600b80c0c84cb8d (patch)
tree9086fe5e637427bd99fa36396019d52856d48894
parent87dce07c00ee8bfadee3dd6743c63b4ce8702eaf (diff)
downloadrubygem-ascii_binder-bdb0c87d20a866c372825870d600b80c0c84cb8d.tar.gz
rubygem-ascii_binder-bdb0c87d20a866c372825870d600b80c0c84cb8d.tar.xz
rubygem-ascii_binder-bdb0c87d20a866c372825870d600b80c0c84cb8d.zip
Update to AsciiBinder 0.1.13.
-rw-r--r--rubygem-ascii_binder.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/rubygem-ascii_binder.spec b/rubygem-ascii_binder.spec
index c8256fc..ae282f7 100644
--- a/rubygem-ascii_binder.spec
+++ b/rubygem-ascii_binder.spec
@@ -2,7 +2,7 @@
%global gem_name ascii_binder
Name: rubygem-%{gem_name}
-Version: 0.1.10.1
+Version: 0.1.13
Release: 1%{?dist}
Summary: An AsciiDoc-based system for authoring and publishing documentation
License: MIT
@@ -12,7 +12,7 @@ BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby
BuildRequires: rubygem(asciidoctor)
-BuildRequires: rubygem(cucumber) >= 2.3.3
+BuildRequires: %{_bindir}/cucumber
BuildRequires: rubygem(git)
BuildRequires: rubygem(diff_dirs) >= 0.1.2
BuildRequires: rubygem(sitemap_generator)
@@ -45,6 +45,7 @@ ln -sf asciibinder bin/ascii_binder
%gemspec_remove_dep -s ../%{gem_name}-%{version}.gemspec -g sitemap_generator '~> 5.1.0'
%gemspec_add_dep -s ../%{gem_name}-%{version}.gemspec -g sitemap_generator '>= 5.1.0'
+# The asciidoctor-diagram and pandoc-ruby are not in Fedora yet.
%gemspec_remove_dep -s ../%{gem_name}-%{version}.gemspec -g asciidoctor-diagram '~> 1.5.5'
sed -i '/asciidoctor-diagram/ s/^/#/' lib/ascii_binder/engine.rb
%gemspec_remove_dep -s ../%{gem_name}-%{version}.gemspec -g pandoc-ruby '>= 0'
@@ -77,6 +78,9 @@ cp -a .%{_bindir}/* \
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
+# Fix shebang.
+sed -i 's|/usr/bin/env ruby|/usr/bin/ruby|' %{buildroot}%{gem_instdir}/bin/asciibinder
+
%check
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
@@ -113,5 +117,8 @@ popd
%{gem_instdir}/features
%changelog
+* Thu Dec 14 2017 Vít Ondruch <vondruch@redhat.com> - 0.1.13-1
+- Update to AsciiBinder 0.1.13.
+
* Fri Sep 08 2017 Vít Ondruch <vondruch@redhat.com> - 0.1.10.1-1
- Initial package